Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm.getDnsSecurityProfile
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
DnsSecurityProfile data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
//
// Data source to retrieve a single SCM DNS Security Profile object by its ID.
//
// Replace the ID with the UUID of the SCM DNS Profile you want to find.
const scmDnsProfile = scm.getDnsSecurityProfile({
id: "18607c90-22fa-4627-8741-f0584d1fa7d6",
});
export const scmDnsSecurityProfileDetails = {
profileId: scmDnsProfile.then(scmDnsProfile => scmDnsProfile.id),
folder: scmDnsProfile.then(scmDnsProfile => scmDnsProfile.folder),
name: scmDnsProfile.then(scmDnsProfile => scmDnsProfile.name),
};
import pulumi
import pulumi_scm as scm
#
# Data source to retrieve a single SCM DNS Security Profile object by its ID.
#
# Replace the ID with the UUID of the SCM DNS Profile you want to find.
scm_dns_profile = scm.get_dns_security_profile(id="18607c90-22fa-4627-8741-f0584d1fa7d6")
pulumi.export("scmDnsSecurityProfileDetails", {
"profileId": scm_dns_profile.id,
"folder": scm_dns_profile.folder,
"name": scm_dns_profile.name,
})
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 single SCM DNS Security Profile object by its ID.
//
// Replace the ID with the UUID of the SCM DNS Profile you want to find.
scmDnsProfile, err := scm.LookupDnsSecurityProfile(ctx, &scm.LookupDnsSecurityProfileArgs{
Id: "18607c90-22fa-4627-8741-f0584d1fa7d6",
}, nil)
if err != nil {
return err
}
ctx.Export("scmDnsSecurityProfileDetails", pulumi.StringMap{
"profileId": scmDnsProfile.Id,
"folder": scmDnsProfile.Folder,
"name": scmDnsProfile.Name,
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
//
// Data source to retrieve a single SCM DNS Security Profile object by its ID.
//
// Replace the ID with the UUID of the SCM DNS Profile you want to find.
var scmDnsProfile = Scm.GetDnsSecurityProfile.Invoke(new()
{
Id = "18607c90-22fa-4627-8741-f0584d1fa7d6",
});
return new Dictionary<string, object?>
{
["scmDnsSecurityProfileDetails"] =
{
{ "profileId", scmDnsProfile.Apply(getDnsSecurityProfileResult => getDnsSecurityProfileResult.Id) },
{ "folder", scmDnsProfile.Apply(getDnsSecurityProfileResult => getDnsSecurityProfileResult.Folder) },
{ "name", scmDnsProfile.Apply(getDnsSecurityProfileResult => getDnsSecurityProfileResult.Name) },
},
};
});
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.GetDnsSecurityProfileArgs;
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 single SCM DNS Security Profile object by its ID.
//
// Replace the ID with the UUID of the SCM DNS Profile you want to find.
final var scmDnsProfile = ScmFunctions.getDnsSecurityProfile(GetDnsSecurityProfileArgs.builder()
.id("18607c90-22fa-4627-8741-f0584d1fa7d6")
.build());
ctx.export("scmDnsSecurityProfileDetails", Map.ofEntries(
Map.entry("profileId", scmDnsProfile.id()),
Map.entry("folder", scmDnsProfile.folder()),
Map.entry("name", scmDnsProfile.name())
));
}
}
variables:
#
# Data source to retrieve a single SCM DNS Security Profile object by its ID.
#
# Replace the ID with the UUID of the SCM DNS Profile you want to find.
scmDnsProfile:
fn::invoke:
function: scm:getDnsSecurityProfile
arguments:
id: 18607c90-22fa-4627-8741-f0584d1fa7d6
outputs:
# Output the details of the single SCM DNS Security Profile object found.
scmDnsSecurityProfileDetails:
profileId: ${scmDnsProfile.id}
folder: ${scmDnsProfile.folder}
name: ${scmDnsProfile.name}
Using getDnsSecurityProfile
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 getDnsSecurityProfile(args: GetDnsSecurityProfileArgs, opts?: InvokeOptions): Promise<GetDnsSecurityProfileResult>
function getDnsSecurityProfileOutput(args: GetDnsSecurityProfileOutputArgs, opts?: InvokeOptions): Output<GetDnsSecurityProfileResult>def get_dns_security_profile(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDnsSecurityProfileResult
def get_dns_security_profile_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDnsSecurityProfileResult]func LookupDnsSecurityProfile(ctx *Context, args *LookupDnsSecurityProfileArgs, opts ...InvokeOption) (*LookupDnsSecurityProfileResult, error)
func LookupDnsSecurityProfileOutput(ctx *Context, args *LookupDnsSecurityProfileOutputArgs, opts ...InvokeOption) LookupDnsSecurityProfileResultOutput> Note: This function is named LookupDnsSecurityProfile in the Go SDK.
public static class GetDnsSecurityProfile
{
public static Task<GetDnsSecurityProfileResult> InvokeAsync(GetDnsSecurityProfileArgs args, InvokeOptions? opts = null)
public static Output<GetDnsSecurityProfileResult> Invoke(GetDnsSecurityProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDnsSecurityProfileResult> getDnsSecurityProfile(GetDnsSecurityProfileArgs args, InvokeOptions options)
public static Output<GetDnsSecurityProfileResult> getDnsSecurityProfile(GetDnsSecurityProfileArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getDnsSecurityProfile:getDnsSecurityProfile
arguments:
# arguments dictionaryThe following arguments are supported:
getDnsSecurityProfile Result
The following output properties are available:
- Botnet
Domains GetDns Security Profile 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 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 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 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 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
Supporting Types
GetDnsSecurityProfileBotnetDomains
- Dns
Security List<GetCategories Dns Security Profile Botnet Domains Dns Security Category> - DNS categories
- Lists
List<Get
Dns Security Profile Botnet Domains List> - Dynamic lists of DNS domains
- Sinkhole
Get
Dns Security Profile Botnet Domains Sinkhole - DNS sinkhole settings
- Whitelists
List<Get
Dns Security Profile Botnet Domains Whitelist> - DNS security overrides
- Dns
Security []GetCategories Dns Security Profile Botnet Domains Dns Security Category - DNS categories
- Lists
[]Get
Dns Security Profile Botnet Domains List - Dynamic lists of DNS domains
- Sinkhole
Get
Dns Security Profile Botnet Domains Sinkhole - DNS sinkhole settings
- Whitelists
[]Get
Dns Security Profile Botnet Domains Whitelist - DNS security overrides
- dns
Security List<GetCategories Dns Security Profile Botnet Domains Dns Security Category> - DNS categories
- lists
List<Get
Dns Security Profile Botnet Domains List> - Dynamic lists of DNS domains
- sinkhole
Get
Dns Security Profile Botnet Domains Sinkhole - DNS sinkhole settings
- whitelists
List<Get
Dns Security Profile Botnet Domains Whitelist> - DNS security overrides
- dns
Security GetCategories Dns Security Profile Botnet Domains Dns Security Category[] - DNS categories
- lists
Get
Dns Security Profile Botnet Domains List[] - Dynamic lists of DNS domains
- sinkhole
Get
Dns Security Profile Botnet Domains Sinkhole - DNS sinkhole settings
- whitelists
Get
Dns Security Profile Botnet Domains Whitelist[] - DNS security overrides
- dns_
security_ Sequence[Getcategories Dns Security Profile Botnet Domains Dns Security Category] - DNS categories
- lists
Sequence[Get
Dns Security Profile Botnet Domains List] - Dynamic lists of DNS domains
- sinkhole
Get
Dns Security Profile Botnet Domains Sinkhole - DNS sinkhole settings
- whitelists
Sequence[Get
Dns Security Profile 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
GetDnsSecurityProfileBotnetDomainsDnsSecurityCategory
- 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
GetDnsSecurityProfileBotnetDomainsList
- Action
Get
Dns Security Profile Botnet Domains List Action - Action
- Name string
- Name
- Packet
Capture string - Packet capture
- Action
Get
Dns Security Profile Botnet Domains List Action - Action
- Name string
- Name
- Packet
Capture string - Packet capture
- action
Get
Dns Security Profile Botnet Domains List Action - Action
- name String
- Name
- packet
Capture String - Packet capture
- action
Get
Dns Security Profile Botnet Domains List Action - Action
- name string
- Name
- packet
Capture string - Packet capture
- action
Get
Dns Security Profile 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
GetDnsSecurityProfileBotnetDomainsListAction
- alert Property Map
- Alert
- allow Property Map
- Allow
- block Property Map
- Block
- sinkhole Property Map
- Sinkhole
GetDnsSecurityProfileBotnetDomainsSinkhole
- 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
GetDnsSecurityProfileBotnetDomainsWhitelist
- 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
