Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
Retrieves a listing of config items.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
//
// Data source to retrieve a list of SCM DNS Security Profile objects.
//
// Fetch a list of all SCM DNS Security Profile in the "Shared" folder.
const allShared = scm.getDnsSecurityProfileList({
folder: "All",
});
export const scmDnsSecurityProfileListAllShared = allShared.then(allShared => allShared.datas);
import pulumi
import pulumi_scm as scm
#
# Data source to retrieve a list of SCM DNS Security Profile objects.
#
# Fetch a list of all SCM DNS Security Profile in the "Shared" folder.
all_shared = scm.get_dns_security_profile_list(folder="All")
pulumi.export("scmDnsSecurityProfileListAllShared", all_shared.datas)
package main
import (
"github.com/pulumi/pulumi-scm/sdk/go/scm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Data source to retrieve a list of SCM DNS Security Profile objects.
//
// Fetch a list of all SCM DNS Security Profile in the "Shared" folder.
allShared, err := scm.GetDnsSecurityProfileList(ctx, &scm.GetDnsSecurityProfileListArgs{
Folder: pulumi.StringRef("All"),
}, nil)
if err != nil {
return err
}
ctx.Export("scmDnsSecurityProfileListAllShared", allShared.Datas)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
//
// Data source to retrieve a list of SCM DNS Security Profile objects.
//
// Fetch a list of all SCM DNS Security Profile in the "Shared" folder.
var allShared = Scm.GetDnsSecurityProfileList.Invoke(new()
{
Folder = "All",
});
return new Dictionary<string, object?>
{
["scmDnsSecurityProfileListAllShared"] = allShared.Apply(getDnsSecurityProfileListResult => getDnsSecurityProfileListResult.Datas),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.ScmFunctions;
import com.pulumi.scm.inputs.GetDnsSecurityProfileListArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
//
// Data source to retrieve a list of SCM DNS Security Profile objects.
//
// Fetch a list of all SCM DNS Security Profile in the "Shared" folder.
final var allShared = ScmFunctions.getDnsSecurityProfileList(GetDnsSecurityProfileListArgs.builder()
.folder("All")
.build());
ctx.export("scmDnsSecurityProfileListAllShared", allShared.datas());
}
}
variables:
#
# Data source to retrieve a list of SCM DNS Security Profile objects.
#
# Fetch a list of all SCM DNS Security Profile in the "Shared" folder.
allShared:
fn::invoke:
function: scm:getDnsSecurityProfileList
arguments:
folder: All
outputs:
# Output the list of all SCM DNS Security Profile objects from the "Shared" folder.
scmDnsSecurityProfileListAllShared: ${allShared.datas}
Using getDnsSecurityProfileList
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDnsSecurityProfileList(args: GetDnsSecurityProfileListArgs, opts?: InvokeOptions): Promise<GetDnsSecurityProfileListResult>
function getDnsSecurityProfileListOutput(args: GetDnsSecurityProfileListOutputArgs, opts?: InvokeOptions): Output<GetDnsSecurityProfileListResult>def get_dns_security_profile_list(device: Optional[str] = None,
folder: Optional[str] = None,
limit: Optional[int] = None,
name: Optional[str] = None,
offset: Optional[int] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDnsSecurityProfileListResult
def get_dns_security_profile_list_output(device: Optional[pulumi.Input[str]] = None,
folder: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
offset: Optional[pulumi.Input[int]] = None,
snippet: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDnsSecurityProfileListResult]func GetDnsSecurityProfileList(ctx *Context, args *GetDnsSecurityProfileListArgs, opts ...InvokeOption) (*GetDnsSecurityProfileListResult, error)
func GetDnsSecurityProfileListOutput(ctx *Context, args *GetDnsSecurityProfileListOutputArgs, opts ...InvokeOption) GetDnsSecurityProfileListResultOutput> Note: This function is named GetDnsSecurityProfileList in the Go SDK.
public static class GetDnsSecurityProfileList
{
public static Task<GetDnsSecurityProfileListResult> InvokeAsync(GetDnsSecurityProfileListArgs args, InvokeOptions? opts = null)
public static Output<GetDnsSecurityProfileListResult> Invoke(GetDnsSecurityProfileListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDnsSecurityProfileListResult> getDnsSecurityProfileList(GetDnsSecurityProfileListArgs args, InvokeOptions options)
public static Output<GetDnsSecurityProfileListResult> getDnsSecurityProfileList(GetDnsSecurityProfileListArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getDnsSecurityProfileList:getDnsSecurityProfileList
arguments:
# arguments dictionaryThe following arguments are supported:
getDnsSecurityProfileList Result
The following output properties are available:
- Datas
List<Get
Dns Security Profile List Data> - The data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tfid string
- Total int
- The total number of items.
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- Datas
[]Get
Dns Security Profile List Data - The data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tfid string
- Total int
- The total number of items.
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- datas
List<Get
Dns Security Profile List Data> - The data.
- id String
- The provider-assigned unique ID for this managed resource.
- tfid String
- total Integer
- The total number of items.
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Integer
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Integer
- The offset of the first item to return.
- snippet String
- The snippet of the item.
- datas
Get
Dns Security Profile List Data[] - The data.
- id string
- The provider-assigned unique ID for this managed resource.
- tfid string
- total number
- The total number of items.
- device string
- The device of the item.
- folder string
- The folder of the item. Default: Shared.
- limit number
- The max number of items to return. Default: 200.
- name string
- The name of the item.
- offset number
- The offset of the first item to return.
- snippet string
- The snippet of the item.
- datas
Sequence[Get
Dns Security Profile List Data] - The data.
- id str
- The provider-assigned unique ID for this managed resource.
- tfid str
- total int
- The total number of items.
- device str
- The device of the item.
- folder str
- The folder of the item. Default: Shared.
- limit int
- The max number of items to return. Default: 200.
- name str
- The name of the item.
- offset int
- The offset of the first item to return.
- snippet str
- The snippet of the item.
- datas List<Property Map>
- The data.
- id String
- The provider-assigned unique ID for this managed resource.
- tfid String
- total Number
- The total number of items.
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Number
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Number
- The offset of the first item to return.
- snippet String
- The snippet of the item.
Supporting Types
GetDnsSecurityProfileListData
- Botnet
Domains GetDns Security Profile List Data Botnet Domains - Botnet domains
- Description string
- The description of the DNS security profile
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
- Id string
- The UUID of the DNS security profile
- Name string
- The name of the DNS security profile
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- Botnet
Domains GetDns Security Profile List Data Botnet Domains - Botnet domains
- Description string
- The description of the DNS security profile
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
- Id string
- The UUID of the DNS security profile
- Name string
- The name of the DNS security profile
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- botnet
Domains GetDns Security Profile List Data Botnet Domains - Botnet domains
- description String
- The description of the DNS security profile
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
- id String
- The UUID of the DNS security profile
- name String
- The name of the DNS security profile
- snippet String
- The snippet in which the resource is defined
- tfid String
- botnet
Domains GetDns Security Profile List Data Botnet Domains - Botnet domains
- description string
- The description of the DNS security profile
- device string
- The device in which the resource is defined
- folder string
- The folder in which the resource is defined
- id string
- The UUID of the DNS security profile
- name string
- The name of the DNS security profile
- snippet string
- The snippet in which the resource is defined
- tfid string
- botnet_
domains GetDns Security Profile List Data Botnet Domains - Botnet domains
- description str
- The description of the DNS security profile
- device str
- The device in which the resource is defined
- folder str
- The folder in which the resource is defined
- id str
- The UUID of the DNS security profile
- name str
- The name of the DNS security profile
- snippet str
- The snippet in which the resource is defined
- tfid str
- botnet
Domains Property Map - Botnet domains
- description String
- The description of the DNS security profile
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
- id String
- The UUID of the DNS security profile
- name String
- The name of the DNS security profile
- snippet String
- The snippet in which the resource is defined
- tfid String
GetDnsSecurityProfileListDataBotnetDomains
- Dns
Security List<GetCategories Dns Security Profile List Data Botnet Domains Dns Security Category> - DNS categories
- Lists
List<Get
Dns Security Profile List Data Botnet Domains List> - Dynamic lists of DNS domains
- Sinkhole
Get
Dns Security Profile List Data Botnet Domains Sinkhole - DNS sinkhole settings
- Whitelists
List<Get
Dns Security Profile List Data Botnet Domains Whitelist> - DNS security overrides
- Dns
Security []GetCategories Dns Security Profile List Data Botnet Domains Dns Security Category - DNS categories
- Lists
[]Get
Dns Security Profile List Data Botnet Domains List - Dynamic lists of DNS domains
- Sinkhole
Get
Dns Security Profile List Data Botnet Domains Sinkhole - DNS sinkhole settings
- Whitelists
[]Get
Dns Security Profile List Data Botnet Domains Whitelist - DNS security overrides
- dns
Security List<GetCategories Dns Security Profile List Data Botnet Domains Dns Security Category> - DNS categories
- lists
List<Get
Dns Security Profile List Data Botnet Domains List> - Dynamic lists of DNS domains
- sinkhole
Get
Dns Security Profile List Data Botnet Domains Sinkhole - DNS sinkhole settings
- whitelists
List<Get
Dns Security Profile List Data Botnet Domains Whitelist> - DNS security overrides
- dns
Security GetCategories Dns Security Profile List Data Botnet Domains Dns Security Category[] - DNS categories
- lists
Get
Dns Security Profile List Data Botnet Domains List[] - Dynamic lists of DNS domains
- sinkhole
Get
Dns Security Profile List Data Botnet Domains Sinkhole - DNS sinkhole settings
- whitelists
Get
Dns Security Profile List Data Botnet Domains Whitelist[] - DNS security overrides
- dns_
security_ Sequence[Getcategories Dns Security Profile List Data Botnet Domains Dns Security Category] - DNS categories
- lists
Sequence[Get
Dns Security Profile List Data Botnet Domains List] - Dynamic lists of DNS domains
- sinkhole
Get
Dns Security Profile List Data Botnet Domains Sinkhole - DNS sinkhole settings
- whitelists
Sequence[Get
Dns Security Profile List Data Botnet Domains Whitelist] - DNS security overrides
- dns
Security List<Property Map>Categories - DNS categories
- lists List<Property Map>
- Dynamic lists of DNS domains
- sinkhole Property Map
- DNS sinkhole settings
- whitelists List<Property Map>
- DNS security overrides
GetDnsSecurityProfileListDataBotnetDomainsDnsSecurityCategory
- Action string
- Action
- Log
Level string - Log level
- Name string
- Name
- Packet
Capture string - Packet capture
- Action string
- Action
- Log
Level string - Log level
- Name string
- Name
- Packet
Capture string - Packet capture
- action String
- Action
- log
Level String - Log level
- name String
- Name
- packet
Capture String - Packet capture
- action string
- Action
- log
Level string - Log level
- name string
- Name
- packet
Capture string - Packet capture
- action str
- Action
- log_
level str - Log level
- name str
- Name
- packet_
capture str - Packet capture
- action String
- Action
- log
Level String - Log level
- name String
- Name
- packet
Capture String - Packet capture
GetDnsSecurityProfileListDataBotnetDomainsList
- Action
Get
Dns Security Profile List Data Botnet Domains List Action - Action
- Name string
- Name
- Packet
Capture string - Packet capture
- Action
Get
Dns Security Profile List Data Botnet Domains List Action - Action
- Name string
- Name
- Packet
Capture string - Packet capture
- action
Get
Dns Security Profile List Data Botnet Domains List Action - Action
- name String
- Name
- packet
Capture String - Packet capture
- action
Get
Dns Security Profile List Data Botnet Domains List Action - Action
- name string
- Name
- packet
Capture string - Packet capture
- action
Get
Dns Security Profile List Data Botnet Domains List Action - Action
- name str
- Name
- packet_
capture str - Packet capture
- action Property Map
- Action
- name String
- Name
- packet
Capture String - Packet capture
GetDnsSecurityProfileListDataBotnetDomainsListAction
- alert Property Map
- Alert
- allow Property Map
- Allow
- block Property Map
- Block
- sinkhole Property Map
- Sinkhole
GetDnsSecurityProfileListDataBotnetDomainsSinkhole
- Ipv4Address string
- Ipv4 address
- Ipv6Address string
- Ipv6 address
- Ipv4Address string
- Ipv4 address
- Ipv6Address string
- Ipv6 address
- ipv4Address String
- Ipv4 address
- ipv6Address String
- Ipv6 address
- ipv4Address string
- Ipv4 address
- ipv6Address string
- Ipv6 address
- ipv4_
address str - Ipv4 address
- ipv6_
address str - Ipv6 address
- ipv4Address String
- Ipv4 address
- ipv6Address String
- Ipv6 address
GetDnsSecurityProfileListDataBotnetDomainsWhitelist
- Description string
- Description
- Name string
- DNS domain or FQDN to be whitelisted
- Description string
- Description
- Name string
- DNS domain or FQDN to be whitelisted
- description String
- Description
- name String
- DNS domain or FQDN to be whitelisted
- description string
- Description
- name string
- DNS domain or FQDN to be whitelisted
- description str
- Description
- name str
- DNS domain or FQDN to be whitelisted
- description String
- Description
- name String
- DNS domain or FQDN to be whitelisted
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
