1. Packages
  2. Scm Provider
  3. API Docs
  4. getDnsSecurityProfile
Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi

scm.getDnsSecurityProfile

Explore with Pulumi AI

scm logo
Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scm:index/getDnsSecurityProfile:getDnsSecurityProfile
      arguments:
        # arguments dictionary

    The 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 GetDnsSecurityProfileBotnetDomains
    The BotnetDomains param.
    Description string
    The Description param.
    Id string
    The Id param.
    Name string
    The Name param.
    Tfid string
    BotnetDomains GetDnsSecurityProfileBotnetDomains
    The BotnetDomains param.
    Description string
    The Description param.
    Id string
    The Id param.
    Name string
    The Name param.
    Tfid string
    botnetDomains GetDnsSecurityProfileBotnetDomains
    The BotnetDomains param.
    description String
    The Description param.
    id String
    The Id param.
    name String
    The Name param.
    tfid String
    botnetDomains GetDnsSecurityProfileBotnetDomains
    The BotnetDomains param.
    description string
    The Description param.
    id string
    The Id param.
    name string
    The Name param.
    tfid string
    botnet_domains GetDnsSecurityProfileBotnetDomains
    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

    dnsSecurityCategories List<Property Map>
    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 GetDnsSecurityProfileBotnetDomainsListAction
    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 GetDnsSecurityProfileBotnetDomainsListAction
    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 GetDnsSecurityProfileBotnetDomainsListAction
    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 GetDnsSecurityProfileBotnetDomainsListAction
    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 GetDnsSecurityProfileBotnetDomainsListAction
    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

    Alert bool
    The Alert param.
    Allow bool
    The Allow param.
    Block bool
    The Block param.
    Sinkhole bool
    The Sinkhole param.
    Alert bool
    The Alert param.
    Allow bool
    The Allow param.
    Block bool
    The Block param.
    Sinkhole bool
    The Sinkhole param.
    alert Boolean
    The Alert param.
    allow Boolean
    The Allow param.
    block Boolean
    The Block param.
    sinkhole Boolean
    The Sinkhole param.
    alert boolean
    The Alert param.
    allow boolean
    The Allow param.
    block boolean
    The Block param.
    sinkhole boolean
    The Sinkhole param.
    alert bool
    The Alert param.
    allow bool
    The Allow param.
    block bool
    The Block param.
    sinkhole bool
    The Sinkhole param.
    alert Boolean
    The Alert param.
    allow Boolean
    The Allow param.
    block Boolean
    The Block param.
    sinkhole Boolean
    The Sinkhole param.

    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 scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi