Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 by Pulumi
scm.getDnsSecurityProfile
Explore with Pulumi AI
Retrieves a config item.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const example = scm.getDnsSecurityProfile({
    id: "1234-56-789",
});
import pulumi
import pulumi_scm as scm
example = scm.get_dns_security_profile(id="1234-56-789")
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 {
		_, err := scm.LookupDnsSecurityProfile(ctx, &scm.LookupDnsSecurityProfileArgs{
			Id: "1234-56-789",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() => 
{
    var example = Scm.GetDnsSecurityProfile.Invoke(new()
    {
        Id = "1234-56-789",
    });
});
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) {
        final var example = ScmFunctions.getDnsSecurityProfile(GetDnsSecurityProfileArgs.builder()
            .id("1234-56-789")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: scm:getDnsSecurityProfile
      arguments:
        id: 1234-56-789
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,
                             opts: Optional[InvokeOptions] = None) -> GetDnsSecurityProfileResult
def get_dns_security_profile_output(id: 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:
- Id string
- The Id param.
- Id string
- The Id param.
- id String
- The Id param.
- id string
- The Id param.
- id str
- The Id param.
- id String
- The Id param.
getDnsSecurityProfile Result
The following output properties are available:
- BotnetDomains GetDns Security Profile Botnet Domains 
- The BotnetDomains param.
- Description string
- The Description param.
- Id string
- The Id param.
- Name string
- The Name param.
- Tfid string
- BotnetDomains GetDns Security Profile Botnet Domains 
- The BotnetDomains param.
- Description string
- The Description param.
- Id string
- The Id param.
- Name string
- The Name param.
- Tfid string
- botnetDomains GetDns Security Profile Botnet Domains 
- The BotnetDomains param.
- description String
- The Description param.
- id String
- The Id param.
- name String
- The Name param.
- tfid String
- botnetDomains GetDns Security Profile Botnet Domains 
- The BotnetDomains param.
- description string
- The Description param.
- id string
- The Id param.
- name string
- The Name param.
- tfid string
- botnet_domains GetDns Security Profile Botnet Domains 
- The BotnetDomains param.
- description str
- The Description param.
- id str
- The Id param.
- name str
- The Name param.
- tfid str
- botnetDomains Property Map
- The BotnetDomains param.
- description String
- The Description param.
- id String
- The Id param.
- name String
- The Name param.
- tfid String
Supporting Types
GetDnsSecurityProfileBotnetDomains     
- DnsSecurity List<GetCategories Dns Security Profile Botnet Domains Dns Security Category> 
- The DnsSecurityCategories param.
- Lists
List<GetDns Security Profile Botnet Domains List> 
- The Lists param.
- Sinkhole
GetDns Security Profile Botnet Domains Sinkhole 
- The Sinkhole param.
- Whitelists
List<GetDns Security Profile Botnet Domains Whitelist> 
- The Whitelists param.
- DnsSecurity []GetCategories Dns Security Profile Botnet Domains Dns Security Category 
- The DnsSecurityCategories param.
- Lists
[]GetDns Security Profile Botnet Domains List 
- The Lists param.
- Sinkhole
GetDns Security Profile Botnet Domains Sinkhole 
- The Sinkhole param.
- Whitelists
[]GetDns Security Profile Botnet Domains Whitelist 
- The Whitelists param.
- dnsSecurity List<GetCategories Dns Security Profile Botnet Domains Dns Security Category> 
- The DnsSecurityCategories param.
- lists
List<GetDns Security Profile Botnet Domains List> 
- The Lists param.
- sinkhole
GetDns Security Profile Botnet Domains Sinkhole 
- The Sinkhole param.
- whitelists
List<GetDns Security Profile Botnet Domains Whitelist> 
- The Whitelists param.
- dnsSecurity GetCategories Dns Security Profile Botnet Domains Dns Security Category[] 
- The DnsSecurityCategories param.
- lists
GetDns Security Profile Botnet Domains List[] 
- The Lists param.
- sinkhole
GetDns Security Profile Botnet Domains Sinkhole 
- The Sinkhole param.
- whitelists
GetDns Security Profile Botnet Domains Whitelist[] 
- The Whitelists param.
- dns_security_ Sequence[Getcategories Dns Security Profile Botnet Domains Dns Security Category] 
- The DnsSecurityCategories param.
- lists
Sequence[GetDns Security Profile Botnet Domains List] 
- The Lists param.
- sinkhole
GetDns Security Profile Botnet Domains Sinkhole 
- The Sinkhole param.
- whitelists
Sequence[GetDns Security Profile Botnet Domains Whitelist] 
- The Whitelists param.
- dnsSecurity List<Property Map>Categories 
- The DnsSecurityCategories param.
- lists List<Property Map>
- The Lists param.
- sinkhole Property Map
- The Sinkhole param.
- whitelists List<Property Map>
- The Whitelists param.
GetDnsSecurityProfileBotnetDomainsDnsSecurityCategory        
- Action string
- The Action param. String must be one of these: "default","allow","block","sinkhole". Default:"default".
- LogLevel string
- The LogLevel param. String must be one of these: "default","none","low","informational","medium","high","critical". Default:"default".
- Name string
- The Name param.
- PacketCapture string
- The PacketCapture param. String must be one of these: "disable","single-packet","extended-capture".
- Action string
- The Action param. String must be one of these: "default","allow","block","sinkhole". Default:"default".
- LogLevel string
- The LogLevel param. String must be one of these: "default","none","low","informational","medium","high","critical". Default:"default".
- Name string
- The Name param.
- PacketCapture string
- The PacketCapture param. String must be one of these: "disable","single-packet","extended-capture".
- action String
- The Action param. String must be one of these: "default","allow","block","sinkhole". Default:"default".
- logLevel String
- The LogLevel param. String must be one of these: "default","none","low","informational","medium","high","critical". Default:"default".
- name String
- The Name param.
- packetCapture String
- The PacketCapture param. String must be one of these: "disable","single-packet","extended-capture".
- action string
- The Action param. String must be one of these: "default","allow","block","sinkhole". Default:"default".
- logLevel string
- The LogLevel param. String must be one of these: "default","none","low","informational","medium","high","critical". Default:"default".
- name string
- The Name param.
- packetCapture string
- The PacketCapture param. String must be one of these: "disable","single-packet","extended-capture".
- action str
- The Action param. String must be one of these: "default","allow","block","sinkhole". Default:"default".
- log_level str
- The LogLevel param. String must be one of these: "default","none","low","informational","medium","high","critical". Default:"default".
- name str
- The Name param.
- packet_capture str
- The PacketCapture param. String must be one of these: "disable","single-packet","extended-capture".
- action String
- The Action param. String must be one of these: "default","allow","block","sinkhole". Default:"default".
- logLevel String
- The LogLevel param. String must be one of these: "default","none","low","informational","medium","high","critical". Default:"default".
- name String
- The Name param.
- packetCapture String
- The PacketCapture param. String must be one of these: "disable","single-packet","extended-capture".
GetDnsSecurityProfileBotnetDomainsList      
- Action
GetDns Security Profile Botnet Domains List Action 
- The Action param.
- Name string
- The Name param.
- PacketCapture string
- The PacketCapture param. String must be one of these: "disable","single-packet","extended-capture".
- Action
GetDns Security Profile Botnet Domains List Action 
- The Action param.
- Name string
- The Name param.
- PacketCapture string
- The PacketCapture param. String must be one of these: "disable","single-packet","extended-capture".
- action
GetDns Security Profile Botnet Domains List Action 
- The Action param.
- name String
- The Name param.
- packetCapture String
- The PacketCapture param. String must be one of these: "disable","single-packet","extended-capture".
- action
GetDns Security Profile Botnet Domains List Action 
- The Action param.
- name string
- The Name param.
- packetCapture string
- The PacketCapture param. String must be one of these: "disable","single-packet","extended-capture".
- action
GetDns Security Profile Botnet Domains List Action 
- The Action param.
- name str
- The Name param.
- packet_capture str
- The PacketCapture param. String must be one of these: "disable","single-packet","extended-capture".
- action Property Map
- The Action param.
- name String
- The Name param.
- packetCapture String
- The PacketCapture param. String must be one of these: "disable","single-packet","extended-capture".
GetDnsSecurityProfileBotnetDomainsListAction       
GetDnsSecurityProfileBotnetDomainsSinkhole      
- Ipv4Address string
- The Ipv4Address param. String must be one of these: "127.0.0.1","pan-sinkhole-default-ip".
- Ipv6Address string
- The Ipv6Address param. String must be one of these: "::1".
- Ipv4Address string
- The Ipv4Address param. String must be one of these: "127.0.0.1","pan-sinkhole-default-ip".
- Ipv6Address string
- The Ipv6Address param. String must be one of these: "::1".
- ipv4Address String
- The Ipv4Address param. String must be one of these: "127.0.0.1","pan-sinkhole-default-ip".
- ipv6Address String
- The Ipv6Address param. String must be one of these: "::1".
- ipv4Address string
- The Ipv4Address param. String must be one of these: "127.0.0.1","pan-sinkhole-default-ip".
- ipv6Address string
- The Ipv6Address param. String must be one of these: "::1".
- ipv4_address str
- The Ipv4Address param. String must be one of these: "127.0.0.1","pan-sinkhole-default-ip".
- ipv6_address str
- The Ipv6Address param. String must be one of these: "::1".
- ipv4Address String
- The Ipv4Address param. String must be one of these: "127.0.0.1","pan-sinkhole-default-ip".
- ipv6Address String
- The Ipv6Address param. String must be one of these: "::1".
GetDnsSecurityProfileBotnetDomainsWhitelist      
- Description string
- The Description param.
- Name string
- The Name param.
- Description string
- The Description param.
- Name string
- The Name param.
- description String
- The Description param.
- name String
- The Name param.
- description string
- The Description param.
- name string
- The Name param.
- description str
- The Description param.
- name str
- The Name param.
- description String
- The Description param.
- name String
- The Name param.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the scmTerraform Provider.
