Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 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)
// 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:
- Botnet
Domains 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 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 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 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
- botnet
Domains 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
- Dns
Security List<GetCategories Dns Security Profile Botnet Domains Dns Security Category> - The DnsSecurityCategories param.
- Lists
List<Get
Dns Security Profile Botnet Domains List> - The Lists param.
- Sinkhole
Get
Dns Security Profile Botnet Domains Sinkhole - The Sinkhole param.
- Whitelists
List<Get
Dns Security Profile Botnet Domains Whitelist> - The Whitelists param.
- Dns
Security []GetCategories Dns Security Profile Botnet Domains Dns Security Category - The DnsSecurityCategories param.
- Lists
[]Get
Dns Security Profile Botnet Domains List - The Lists param.
- Sinkhole
Get
Dns Security Profile Botnet Domains Sinkhole - The Sinkhole param.
- Whitelists
[]Get
Dns Security Profile Botnet Domains Whitelist - The Whitelists param.
- dns
Security List<GetCategories Dns Security Profile Botnet Domains Dns Security Category> - The DnsSecurityCategories param.
- lists
List<Get
Dns Security Profile Botnet Domains List> - The Lists param.
- sinkhole
Get
Dns Security Profile Botnet Domains Sinkhole - The Sinkhole param.
- whitelists
List<Get
Dns Security Profile Botnet Domains Whitelist> - The Whitelists param.
- dns
Security GetCategories Dns Security Profile Botnet Domains Dns Security Category[] - The DnsSecurityCategories param.
- lists
Get
Dns Security Profile Botnet Domains List[] - The Lists param.
- sinkhole
Get
Dns Security Profile Botnet Domains Sinkhole - The Sinkhole param.
- whitelists
Get
Dns 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[Get
Dns Security Profile Botnet Domains List] - The Lists param.
- sinkhole
Get
Dns Security Profile Botnet Domains Sinkhole - The Sinkhole param.
- whitelists
Sequence[Get
Dns Security Profile Botnet Domains Whitelist] - The Whitelists param.
- dns
Security 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"
. - Log
Level string - The LogLevel param. String must be one of these:
"default"
,"none"
,"low"
,"informational"
,"medium"
,"high"
,"critical"
. Default:"default"
. - Name string
- The Name param.
- Packet
Capture 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"
. - Log
Level string - The LogLevel param. String must be one of these:
"default"
,"none"
,"low"
,"informational"
,"medium"
,"high"
,"critical"
. Default:"default"
. - Name string
- The Name param.
- Packet
Capture 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"
. - log
Level String - The LogLevel param. String must be one of these:
"default"
,"none"
,"low"
,"informational"
,"medium"
,"high"
,"critical"
. Default:"default"
. - name String
- The Name param.
- packet
Capture 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"
. - log
Level string - The LogLevel param. String must be one of these:
"default"
,"none"
,"low"
,"informational"
,"medium"
,"high"
,"critical"
. Default:"default"
. - name string
- The Name param.
- packet
Capture 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"
. - log
Level String - The LogLevel param. String must be one of these:
"default"
,"none"
,"low"
,"informational"
,"medium"
,"high"
,"critical"
. Default:"default"
. - name String
- The Name param.
- packet
Capture String - The PacketCapture param. String must be one of these:
"disable"
,"single-packet"
,"extended-capture"
.
GetDnsSecurityProfileBotnetDomainsList
- Action
Get
Dns Security Profile Botnet Domains List Action - The Action param.
- Name string
- The Name param.
- Packet
Capture string - The PacketCapture param. String must be one of these:
"disable"
,"single-packet"
,"extended-capture"
.
- Action
Get
Dns Security Profile Botnet Domains List Action - The Action param.
- Name string
- The Name param.
- Packet
Capture string - The PacketCapture param. String must be one of these:
"disable"
,"single-packet"
,"extended-capture"
.
- action
Get
Dns Security Profile Botnet Domains List Action - The Action param.
- name String
- The Name param.
- packet
Capture String - The PacketCapture param. String must be one of these:
"disable"
,"single-packet"
,"extended-capture"
.
- action
Get
Dns Security Profile Botnet Domains List Action - The Action param.
- name string
- The Name param.
- packet
Capture string - The PacketCapture param. String must be one of these:
"disable"
,"single-packet"
,"extended-capture"
.
- action
Get
Dns 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.
- packet
Capture 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
scm
Terraform Provider.