Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi
sdwan.getDnsSecurityPolicyDefinition
Explore with Pulumi AI
This data source can read the DNS Security Policy Definition .
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = sdwan.getDnsSecurityPolicyDefinition({
id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.get_dns_security_policy_definition(id="f6b2c44c-693c-4763-b010-895aa3d236bd")
package main
import (
"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sdwan.LookupDnsSecurityPolicyDefinition(ctx, &sdwan.LookupDnsSecurityPolicyDefinitionArgs{
Id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sdwan = Pulumi.Sdwan;
return await Deployment.RunAsync(() =>
{
var example = Sdwan.GetDnsSecurityPolicyDefinition.Invoke(new()
{
Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.SdwanFunctions;
import com.pulumi.sdwan.inputs.GetDnsSecurityPolicyDefinitionArgs;
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 = SdwanFunctions.getDnsSecurityPolicyDefinition(GetDnsSecurityPolicyDefinitionArgs.builder()
.id("f6b2c44c-693c-4763-b010-895aa3d236bd")
.build());
}
}
variables:
example:
fn::invoke:
Function: sdwan:getDnsSecurityPolicyDefinition
Arguments:
id: f6b2c44c-693c-4763-b010-895aa3d236bd
Using getDnsSecurityPolicyDefinition
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 getDnsSecurityPolicyDefinition(args: GetDnsSecurityPolicyDefinitionArgs, opts?: InvokeOptions): Promise<GetDnsSecurityPolicyDefinitionResult>
function getDnsSecurityPolicyDefinitionOutput(args: GetDnsSecurityPolicyDefinitionOutputArgs, opts?: InvokeOptions): Output<GetDnsSecurityPolicyDefinitionResult>
def get_dns_security_policy_definition(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDnsSecurityPolicyDefinitionResult
def get_dns_security_policy_definition_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDnsSecurityPolicyDefinitionResult]
func LookupDnsSecurityPolicyDefinition(ctx *Context, args *LookupDnsSecurityPolicyDefinitionArgs, opts ...InvokeOption) (*LookupDnsSecurityPolicyDefinitionResult, error)
func LookupDnsSecurityPolicyDefinitionOutput(ctx *Context, args *LookupDnsSecurityPolicyDefinitionOutputArgs, opts ...InvokeOption) LookupDnsSecurityPolicyDefinitionResultOutput
> Note: This function is named LookupDnsSecurityPolicyDefinition
in the Go SDK.
public static class GetDnsSecurityPolicyDefinition
{
public static Task<GetDnsSecurityPolicyDefinitionResult> InvokeAsync(GetDnsSecurityPolicyDefinitionArgs args, InvokeOptions? opts = null)
public static Output<GetDnsSecurityPolicyDefinitionResult> Invoke(GetDnsSecurityPolicyDefinitionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDnsSecurityPolicyDefinitionResult> getDnsSecurityPolicyDefinition(GetDnsSecurityPolicyDefinitionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: sdwan:index/getDnsSecurityPolicyDefinition:getDnsSecurityPolicyDefinition
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The id of the object
- Id string
- The id of the object
- id String
- The id of the object
- id string
- The id of the object
- id str
- The id of the object
- id String
- The id of the object
getDnsSecurityPolicyDefinition Result
The following output properties are available:
- Cisco
Sig stringCredentials Feature Template Id - Credentials feature template ID
- Cisco
Sig intCredentials Feature Template Version - Credentials feature template version
- Custom
Dns stringServer Ip - Only relevant when
umbrella_dns_default
isfalse
- Description string
- The description of the policy definition.
- Dnscrypt bool
- Should DNSCrypt be enabled
- Domain
List stringId - Local domain bypass list ID
- Domain
List intVersion - Local domain bypass list version
- Id string
- The id of the object
- Local
Domain boolBypass Enabled - Should the local domain bypass list be enabled
- Match
All boolVpn - Should use match all VPN
- Name string
- The name of the policy definition.
- Target
Vpns List<GetDns Security Policy Definition Target Vpn> - Only relevant when
match_all_vpn
isfalse
- Umbrella
Dns boolDefault - Should use umbrella as DNS Server
- Version int
- The version of the object
- Cisco
Sig stringCredentials Feature Template Id - Credentials feature template ID
- Cisco
Sig intCredentials Feature Template Version - Credentials feature template version
- Custom
Dns stringServer Ip - Only relevant when
umbrella_dns_default
isfalse
- Description string
- The description of the policy definition.
- Dnscrypt bool
- Should DNSCrypt be enabled
- Domain
List stringId - Local domain bypass list ID
- Domain
List intVersion - Local domain bypass list version
- Id string
- The id of the object
- Local
Domain boolBypass Enabled - Should the local domain bypass list be enabled
- Match
All boolVpn - Should use match all VPN
- Name string
- The name of the policy definition.
- Target
Vpns []GetDns Security Policy Definition Target Vpn - Only relevant when
match_all_vpn
isfalse
- Umbrella
Dns boolDefault - Should use umbrella as DNS Server
- Version int
- The version of the object
- cisco
Sig StringCredentials Feature Template Id - Credentials feature template ID
- cisco
Sig IntegerCredentials Feature Template Version - Credentials feature template version
- custom
Dns StringServer Ip - Only relevant when
umbrella_dns_default
isfalse
- description String
- The description of the policy definition.
- dnscrypt Boolean
- Should DNSCrypt be enabled
- domain
List StringId - Local domain bypass list ID
- domain
List IntegerVersion - Local domain bypass list version
- id String
- The id of the object
- local
Domain BooleanBypass Enabled - Should the local domain bypass list be enabled
- match
All BooleanVpn - Should use match all VPN
- name String
- The name of the policy definition.
- target
Vpns List<GetDns Security Policy Definition Target Vpn> - Only relevant when
match_all_vpn
isfalse
- umbrella
Dns BooleanDefault - Should use umbrella as DNS Server
- version Integer
- The version of the object
- cisco
Sig stringCredentials Feature Template Id - Credentials feature template ID
- cisco
Sig numberCredentials Feature Template Version - Credentials feature template version
- custom
Dns stringServer Ip - Only relevant when
umbrella_dns_default
isfalse
- description string
- The description of the policy definition.
- dnscrypt boolean
- Should DNSCrypt be enabled
- domain
List stringId - Local domain bypass list ID
- domain
List numberVersion - Local domain bypass list version
- id string
- The id of the object
- local
Domain booleanBypass Enabled - Should the local domain bypass list be enabled
- match
All booleanVpn - Should use match all VPN
- name string
- The name of the policy definition.
- target
Vpns GetDns Security Policy Definition Target Vpn[] - Only relevant when
match_all_vpn
isfalse
- umbrella
Dns booleanDefault - Should use umbrella as DNS Server
- version number
- The version of the object
- cisco_
sig_ strcredentials_ feature_ template_ id - Credentials feature template ID
- cisco_
sig_ intcredentials_ feature_ template_ version - Credentials feature template version
- custom_
dns_ strserver_ ip - Only relevant when
umbrella_dns_default
isfalse
- description str
- The description of the policy definition.
- dnscrypt bool
- Should DNSCrypt be enabled
- domain_
list_ strid - Local domain bypass list ID
- domain_
list_ intversion - Local domain bypass list version
- id str
- The id of the object
- local_
domain_ boolbypass_ enabled - Should the local domain bypass list be enabled
- match_
all_ boolvpn - Should use match all VPN
- name str
- The name of the policy definition.
- target_
vpns Sequence[GetDns Security Policy Definition Target Vpn] - Only relevant when
match_all_vpn
isfalse
- umbrella_
dns_ booldefault - Should use umbrella as DNS Server
- version int
- The version of the object
- cisco
Sig StringCredentials Feature Template Id - Credentials feature template ID
- cisco
Sig NumberCredentials Feature Template Version - Credentials feature template version
- custom
Dns StringServer Ip - Only relevant when
umbrella_dns_default
isfalse
- description String
- The description of the policy definition.
- dnscrypt Boolean
- Should DNSCrypt be enabled
- domain
List StringId - Local domain bypass list ID
- domain
List NumberVersion - Local domain bypass list version
- id String
- The id of the object
- local
Domain BooleanBypass Enabled - Should the local domain bypass list be enabled
- match
All BooleanVpn - Should use match all VPN
- name String
- The name of the policy definition.
- target
Vpns List<Property Map> - Only relevant when
match_all_vpn
isfalse
- umbrella
Dns BooleanDefault - Should use umbrella as DNS Server
- version Number
- The version of the object
Supporting Types
GetDnsSecurityPolicyDefinitionTargetVpn
- Custom
Dns stringServer Ip - Only relevant when
umbrella_dns_default
isfalse
- Local
Domain boolBypass Enabled - Should the local domain bypass list be enabled
- Umbrella
Dns boolDefault - Should use umbrella as DNS Server
- Vpn
Ids List<string> - VPN ID's separated by Comma
- Custom
Dns stringServer Ip - Only relevant when
umbrella_dns_default
isfalse
- Local
Domain boolBypass Enabled - Should the local domain bypass list be enabled
- Umbrella
Dns boolDefault - Should use umbrella as DNS Server
- Vpn
Ids []string - VPN ID's separated by Comma
- custom
Dns StringServer Ip - Only relevant when
umbrella_dns_default
isfalse
- local
Domain BooleanBypass Enabled - Should the local domain bypass list be enabled
- umbrella
Dns BooleanDefault - Should use umbrella as DNS Server
- vpn
Ids List<String> - VPN ID's separated by Comma
- custom
Dns stringServer Ip - Only relevant when
umbrella_dns_default
isfalse
- local
Domain booleanBypass Enabled - Should the local domain bypass list be enabled
- umbrella
Dns booleanDefault - Should use umbrella as DNS Server
- vpn
Ids string[] - VPN ID's separated by Comma
- custom_
dns_ strserver_ ip - Only relevant when
umbrella_dns_default
isfalse
- local_
domain_ boolbypass_ enabled - Should the local domain bypass list be enabled
- umbrella_
dns_ booldefault - Should use umbrella as DNS Server
- vpn_
ids Sequence[str] - VPN ID's separated by Comma
- custom
Dns StringServer Ip - Only relevant when
umbrella_dns_default
isfalse
- local
Domain BooleanBypass Enabled - Should the local domain bypass list be enabled
- umbrella
Dns BooleanDefault - Should use umbrella as DNS Server
- vpn
Ids List<String> - VPN ID's separated by Comma
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdwan
Terraform Provider.