sdwan.DnsSecurityPolicyDefinition
Explore with Pulumi AI
This resource can manage a DNS Security Policy Definition .
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = new sdwan.DnsSecurityPolicyDefinition("example", {
    name: "Example",
    description: "Example",
    domainListId: "84f10c9d-def7-45a3-8c64-6df26163c861",
    localDomainBypassEnabled: false,
    matchAllVpn: true,
    dnscrypt: true,
    umbrellaDnsDefault: true,
    ciscoSigCredentialsFeatureTemplateId: "3ac6eef9-bd8f-458d-96a7-a932c90b1e75",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.DnsSecurityPolicyDefinition("example",
    name="Example",
    description="Example",
    domain_list_id="84f10c9d-def7-45a3-8c64-6df26163c861",
    local_domain_bypass_enabled=False,
    match_all_vpn=True,
    dnscrypt=True,
    umbrella_dns_default=True,
    cisco_sig_credentials_feature_template_id="3ac6eef9-bd8f-458d-96a7-a932c90b1e75")
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.NewDnsSecurityPolicyDefinition(ctx, "example", &sdwan.DnsSecurityPolicyDefinitionArgs{
			Name:                                 pulumi.String("Example"),
			Description:                          pulumi.String("Example"),
			DomainListId:                         pulumi.String("84f10c9d-def7-45a3-8c64-6df26163c861"),
			LocalDomainBypassEnabled:             pulumi.Bool(false),
			MatchAllVpn:                          pulumi.Bool(true),
			Dnscrypt:                             pulumi.Bool(true),
			UmbrellaDnsDefault:                   pulumi.Bool(true),
			CiscoSigCredentialsFeatureTemplateId: pulumi.String("3ac6eef9-bd8f-458d-96a7-a932c90b1e75"),
		})
		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 = new Sdwan.DnsSecurityPolicyDefinition("example", new()
    {
        Name = "Example",
        Description = "Example",
        DomainListId = "84f10c9d-def7-45a3-8c64-6df26163c861",
        LocalDomainBypassEnabled = false,
        MatchAllVpn = true,
        Dnscrypt = true,
        UmbrellaDnsDefault = true,
        CiscoSigCredentialsFeatureTemplateId = "3ac6eef9-bd8f-458d-96a7-a932c90b1e75",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.DnsSecurityPolicyDefinition;
import com.pulumi.sdwan.DnsSecurityPolicyDefinitionArgs;
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) {
        var example = new DnsSecurityPolicyDefinition("example", DnsSecurityPolicyDefinitionArgs.builder()
            .name("Example")
            .description("Example")
            .domainListId("84f10c9d-def7-45a3-8c64-6df26163c861")
            .localDomainBypassEnabled(false)
            .matchAllVpn(true)
            .dnscrypt(true)
            .umbrellaDnsDefault(true)
            .ciscoSigCredentialsFeatureTemplateId("3ac6eef9-bd8f-458d-96a7-a932c90b1e75")
            .build());
    }
}
resources:
  example:
    type: sdwan:DnsSecurityPolicyDefinition
    properties:
      name: Example
      description: Example
      domainListId: 84f10c9d-def7-45a3-8c64-6df26163c861
      localDomainBypassEnabled: false
      matchAllVpn: true
      dnscrypt: true
      umbrellaDnsDefault: true
      ciscoSigCredentialsFeatureTemplateId: 3ac6eef9-bd8f-458d-96a7-a932c90b1e75
Create DnsSecurityPolicyDefinition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DnsSecurityPolicyDefinition(name: string, args: DnsSecurityPolicyDefinitionArgs, opts?: CustomResourceOptions);@overload
def DnsSecurityPolicyDefinition(resource_name: str,
                                args: DnsSecurityPolicyDefinitionArgs,
                                opts: Optional[ResourceOptions] = None)
@overload
def DnsSecurityPolicyDefinition(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                cisco_sig_credentials_feature_template_id: Optional[str] = None,
                                description: Optional[str] = None,
                                match_all_vpn: Optional[bool] = None,
                                umbrella_dns_default: Optional[bool] = None,
                                cisco_sig_credentials_feature_template_version: Optional[int] = None,
                                custom_dns_server_ip: Optional[str] = None,
                                dnscrypt: Optional[bool] = None,
                                domain_list_id: Optional[str] = None,
                                domain_list_version: Optional[int] = None,
                                local_domain_bypass_enabled: Optional[bool] = None,
                                name: Optional[str] = None,
                                target_vpns: Optional[Sequence[DnsSecurityPolicyDefinitionTargetVpnArgs]] = None)func NewDnsSecurityPolicyDefinition(ctx *Context, name string, args DnsSecurityPolicyDefinitionArgs, opts ...ResourceOption) (*DnsSecurityPolicyDefinition, error)public DnsSecurityPolicyDefinition(string name, DnsSecurityPolicyDefinitionArgs args, CustomResourceOptions? opts = null)
public DnsSecurityPolicyDefinition(String name, DnsSecurityPolicyDefinitionArgs args)
public DnsSecurityPolicyDefinition(String name, DnsSecurityPolicyDefinitionArgs args, CustomResourceOptions options)
type: sdwan:DnsSecurityPolicyDefinition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DnsSecurityPolicyDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DnsSecurityPolicyDefinitionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DnsSecurityPolicyDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DnsSecurityPolicyDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DnsSecurityPolicyDefinitionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dnsSecurityPolicyDefinitionResource = new Sdwan.DnsSecurityPolicyDefinition("dnsSecurityPolicyDefinitionResource", new()
{
    CiscoSigCredentialsFeatureTemplateId = "string",
    Description = "string",
    MatchAllVpn = false,
    UmbrellaDnsDefault = false,
    CiscoSigCredentialsFeatureTemplateVersion = 0,
    CustomDnsServerIp = "string",
    Dnscrypt = false,
    DomainListId = "string",
    DomainListVersion = 0,
    LocalDomainBypassEnabled = false,
    Name = "string",
    TargetVpns = new[]
    {
        new Sdwan.Inputs.DnsSecurityPolicyDefinitionTargetVpnArgs
        {
            CustomDnsServerIp = "string",
            LocalDomainBypassEnabled = false,
            UmbrellaDnsDefault = false,
            VpnIds = new[]
            {
                "string",
            },
        },
    },
});
example, err := sdwan.NewDnsSecurityPolicyDefinition(ctx, "dnsSecurityPolicyDefinitionResource", &sdwan.DnsSecurityPolicyDefinitionArgs{
	CiscoSigCredentialsFeatureTemplateId:      pulumi.String("string"),
	Description:                               pulumi.String("string"),
	MatchAllVpn:                               pulumi.Bool(false),
	UmbrellaDnsDefault:                        pulumi.Bool(false),
	CiscoSigCredentialsFeatureTemplateVersion: pulumi.Int(0),
	CustomDnsServerIp:                         pulumi.String("string"),
	Dnscrypt:                                  pulumi.Bool(false),
	DomainListId:                              pulumi.String("string"),
	DomainListVersion:                         pulumi.Int(0),
	LocalDomainBypassEnabled:                  pulumi.Bool(false),
	Name:                                      pulumi.String("string"),
	TargetVpns: sdwan.DnsSecurityPolicyDefinitionTargetVpnArray{
		&sdwan.DnsSecurityPolicyDefinitionTargetVpnArgs{
			CustomDnsServerIp:        pulumi.String("string"),
			LocalDomainBypassEnabled: pulumi.Bool(false),
			UmbrellaDnsDefault:       pulumi.Bool(false),
			VpnIds: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
})
var dnsSecurityPolicyDefinitionResource = new DnsSecurityPolicyDefinition("dnsSecurityPolicyDefinitionResource", DnsSecurityPolicyDefinitionArgs.builder()
    .ciscoSigCredentialsFeatureTemplateId("string")
    .description("string")
    .matchAllVpn(false)
    .umbrellaDnsDefault(false)
    .ciscoSigCredentialsFeatureTemplateVersion(0)
    .customDnsServerIp("string")
    .dnscrypt(false)
    .domainListId("string")
    .domainListVersion(0)
    .localDomainBypassEnabled(false)
    .name("string")
    .targetVpns(DnsSecurityPolicyDefinitionTargetVpnArgs.builder()
        .customDnsServerIp("string")
        .localDomainBypassEnabled(false)
        .umbrellaDnsDefault(false)
        .vpnIds("string")
        .build())
    .build());
dns_security_policy_definition_resource = sdwan.DnsSecurityPolicyDefinition("dnsSecurityPolicyDefinitionResource",
    cisco_sig_credentials_feature_template_id="string",
    description="string",
    match_all_vpn=False,
    umbrella_dns_default=False,
    cisco_sig_credentials_feature_template_version=0,
    custom_dns_server_ip="string",
    dnscrypt=False,
    domain_list_id="string",
    domain_list_version=0,
    local_domain_bypass_enabled=False,
    name="string",
    target_vpns=[{
        "custom_dns_server_ip": "string",
        "local_domain_bypass_enabled": False,
        "umbrella_dns_default": False,
        "vpn_ids": ["string"],
    }])
const dnsSecurityPolicyDefinitionResource = new sdwan.DnsSecurityPolicyDefinition("dnsSecurityPolicyDefinitionResource", {
    ciscoSigCredentialsFeatureTemplateId: "string",
    description: "string",
    matchAllVpn: false,
    umbrellaDnsDefault: false,
    ciscoSigCredentialsFeatureTemplateVersion: 0,
    customDnsServerIp: "string",
    dnscrypt: false,
    domainListId: "string",
    domainListVersion: 0,
    localDomainBypassEnabled: false,
    name: "string",
    targetVpns: [{
        customDnsServerIp: "string",
        localDomainBypassEnabled: false,
        umbrellaDnsDefault: false,
        vpnIds: ["string"],
    }],
});
type: sdwan:DnsSecurityPolicyDefinition
properties:
    ciscoSigCredentialsFeatureTemplateId: string
    ciscoSigCredentialsFeatureTemplateVersion: 0
    customDnsServerIp: string
    description: string
    dnscrypt: false
    domainListId: string
    domainListVersion: 0
    localDomainBypassEnabled: false
    matchAllVpn: false
    name: string
    targetVpns:
        - customDnsServerIp: string
          localDomainBypassEnabled: false
          umbrellaDnsDefault: false
          vpnIds:
            - string
    umbrellaDnsDefault: false
DnsSecurityPolicyDefinition Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DnsSecurityPolicyDefinition resource accepts the following input properties:
- CiscoSig stringCredentials Feature Template Id 
- Credentials feature template ID
- Description string
- The description of the policy definition.
- MatchAll boolVpn 
- Should use match all VPN
- UmbrellaDns boolDefault 
- Should use umbrella as DNS Server
- CiscoSig intCredentials Feature Template Version 
- Credentials feature template version
- CustomDns stringServer Ip 
- Only relevant when umbrella_dns_defaultisfalse
- Dnscrypt bool
- Should DNSCrypt be enabled
- DomainList stringId 
- Local domain bypass list ID
- DomainList intVersion 
- Local domain bypass list version
- LocalDomain boolBypass Enabled 
- Should the local domain bypass list be enabled
- Name string
- The name of the policy definition.
- TargetVpns List<DnsSecurity Policy Definition Target Vpn> 
- Only relevant when match_all_vpnisfalse
- CiscoSig stringCredentials Feature Template Id 
- Credentials feature template ID
- Description string
- The description of the policy definition.
- MatchAll boolVpn 
- Should use match all VPN
- UmbrellaDns boolDefault 
- Should use umbrella as DNS Server
- CiscoSig intCredentials Feature Template Version 
- Credentials feature template version
- CustomDns stringServer Ip 
- Only relevant when umbrella_dns_defaultisfalse
- Dnscrypt bool
- Should DNSCrypt be enabled
- DomainList stringId 
- Local domain bypass list ID
- DomainList intVersion 
- Local domain bypass list version
- LocalDomain boolBypass Enabled 
- Should the local domain bypass list be enabled
- Name string
- The name of the policy definition.
- TargetVpns []DnsSecurity Policy Definition Target Vpn Args 
- Only relevant when match_all_vpnisfalse
- ciscoSig StringCredentials Feature Template Id 
- Credentials feature template ID
- description String
- The description of the policy definition.
- matchAll BooleanVpn 
- Should use match all VPN
- umbrellaDns BooleanDefault 
- Should use umbrella as DNS Server
- ciscoSig IntegerCredentials Feature Template Version 
- Credentials feature template version
- customDns StringServer Ip 
- Only relevant when umbrella_dns_defaultisfalse
- dnscrypt Boolean
- Should DNSCrypt be enabled
- domainList StringId 
- Local domain bypass list ID
- domainList IntegerVersion 
- Local domain bypass list version
- localDomain BooleanBypass Enabled 
- Should the local domain bypass list be enabled
- name String
- The name of the policy definition.
- targetVpns List<DnsSecurity Policy Definition Target Vpn> 
- Only relevant when match_all_vpnisfalse
- ciscoSig stringCredentials Feature Template Id 
- Credentials feature template ID
- description string
- The description of the policy definition.
- matchAll booleanVpn 
- Should use match all VPN
- umbrellaDns booleanDefault 
- Should use umbrella as DNS Server
- ciscoSig numberCredentials Feature Template Version 
- Credentials feature template version
- customDns stringServer Ip 
- Only relevant when umbrella_dns_defaultisfalse
- dnscrypt boolean
- Should DNSCrypt be enabled
- domainList stringId 
- Local domain bypass list ID
- domainList numberVersion 
- Local domain bypass list version
- localDomain booleanBypass Enabled 
- Should the local domain bypass list be enabled
- name string
- The name of the policy definition.
- targetVpns DnsSecurity Policy Definition Target Vpn[] 
- Only relevant when match_all_vpnisfalse
- cisco_sig_ strcredentials_ feature_ template_ id 
- Credentials feature template ID
- description str
- The description of the policy definition.
- match_all_ boolvpn 
- Should use match all VPN
- umbrella_dns_ booldefault 
- Should use umbrella as DNS Server
- cisco_sig_ intcredentials_ feature_ template_ version 
- Credentials feature template version
- custom_dns_ strserver_ ip 
- Only relevant when umbrella_dns_defaultisfalse
- dnscrypt bool
- Should DNSCrypt be enabled
- domain_list_ strid 
- Local domain bypass list ID
- domain_list_ intversion 
- Local domain bypass list version
- local_domain_ boolbypass_ enabled 
- Should the local domain bypass list be enabled
- name str
- The name of the policy definition.
- target_vpns Sequence[DnsSecurity Policy Definition Target Vpn Args] 
- Only relevant when match_all_vpnisfalse
- ciscoSig StringCredentials Feature Template Id 
- Credentials feature template ID
- description String
- The description of the policy definition.
- matchAll BooleanVpn 
- Should use match all VPN
- umbrellaDns BooleanDefault 
- Should use umbrella as DNS Server
- ciscoSig NumberCredentials Feature Template Version 
- Credentials feature template version
- customDns StringServer Ip 
- Only relevant when umbrella_dns_defaultisfalse
- dnscrypt Boolean
- Should DNSCrypt be enabled
- domainList StringId 
- Local domain bypass list ID
- domainList NumberVersion 
- Local domain bypass list version
- localDomain BooleanBypass Enabled 
- Should the local domain bypass list be enabled
- name String
- The name of the policy definition.
- targetVpns List<Property Map>
- Only relevant when match_all_vpnisfalse
Outputs
All input properties are implicitly available as output properties. Additionally, the DnsSecurityPolicyDefinition resource produces the following output properties:
Look up Existing DnsSecurityPolicyDefinition Resource
Get an existing DnsSecurityPolicyDefinition resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DnsSecurityPolicyDefinitionState, opts?: CustomResourceOptions): DnsSecurityPolicyDefinition@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cisco_sig_credentials_feature_template_id: Optional[str] = None,
        cisco_sig_credentials_feature_template_version: Optional[int] = None,
        custom_dns_server_ip: Optional[str] = None,
        description: Optional[str] = None,
        dnscrypt: Optional[bool] = None,
        domain_list_id: Optional[str] = None,
        domain_list_version: Optional[int] = None,
        local_domain_bypass_enabled: Optional[bool] = None,
        match_all_vpn: Optional[bool] = None,
        name: Optional[str] = None,
        target_vpns: Optional[Sequence[DnsSecurityPolicyDefinitionTargetVpnArgs]] = None,
        umbrella_dns_default: Optional[bool] = None,
        version: Optional[int] = None) -> DnsSecurityPolicyDefinitionfunc GetDnsSecurityPolicyDefinition(ctx *Context, name string, id IDInput, state *DnsSecurityPolicyDefinitionState, opts ...ResourceOption) (*DnsSecurityPolicyDefinition, error)public static DnsSecurityPolicyDefinition Get(string name, Input<string> id, DnsSecurityPolicyDefinitionState? state, CustomResourceOptions? opts = null)public static DnsSecurityPolicyDefinition get(String name, Output<String> id, DnsSecurityPolicyDefinitionState state, CustomResourceOptions options)resources:  _:    type: sdwan:DnsSecurityPolicyDefinition    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CiscoSig stringCredentials Feature Template Id 
- Credentials feature template ID
- CiscoSig intCredentials Feature Template Version 
- Credentials feature template version
- CustomDns stringServer Ip 
- Only relevant when umbrella_dns_defaultisfalse
- Description string
- The description of the policy definition.
- Dnscrypt bool
- Should DNSCrypt be enabled
- DomainList stringId 
- Local domain bypass list ID
- DomainList intVersion 
- Local domain bypass list version
- LocalDomain boolBypass Enabled 
- Should the local domain bypass list be enabled
- MatchAll boolVpn 
- Should use match all VPN
- Name string
- The name of the policy definition.
- TargetVpns List<DnsSecurity Policy Definition Target Vpn> 
- Only relevant when match_all_vpnisfalse
- UmbrellaDns boolDefault 
- Should use umbrella as DNS Server
- Version int
- The version of the object
- CiscoSig stringCredentials Feature Template Id 
- Credentials feature template ID
- CiscoSig intCredentials Feature Template Version 
- Credentials feature template version
- CustomDns stringServer Ip 
- Only relevant when umbrella_dns_defaultisfalse
- Description string
- The description of the policy definition.
- Dnscrypt bool
- Should DNSCrypt be enabled
- DomainList stringId 
- Local domain bypass list ID
- DomainList intVersion 
- Local domain bypass list version
- LocalDomain boolBypass Enabled 
- Should the local domain bypass list be enabled
- MatchAll boolVpn 
- Should use match all VPN
- Name string
- The name of the policy definition.
- TargetVpns []DnsSecurity Policy Definition Target Vpn Args 
- Only relevant when match_all_vpnisfalse
- UmbrellaDns boolDefault 
- Should use umbrella as DNS Server
- Version int
- The version of the object
- ciscoSig StringCredentials Feature Template Id 
- Credentials feature template ID
- ciscoSig IntegerCredentials Feature Template Version 
- Credentials feature template version
- customDns StringServer Ip 
- Only relevant when umbrella_dns_defaultisfalse
- description String
- The description of the policy definition.
- dnscrypt Boolean
- Should DNSCrypt be enabled
- domainList StringId 
- Local domain bypass list ID
- domainList IntegerVersion 
- Local domain bypass list version
- localDomain BooleanBypass Enabled 
- Should the local domain bypass list be enabled
- matchAll BooleanVpn 
- Should use match all VPN
- name String
- The name of the policy definition.
- targetVpns List<DnsSecurity Policy Definition Target Vpn> 
- Only relevant when match_all_vpnisfalse
- umbrellaDns BooleanDefault 
- Should use umbrella as DNS Server
- version Integer
- The version of the object
- ciscoSig stringCredentials Feature Template Id 
- Credentials feature template ID
- ciscoSig numberCredentials Feature Template Version 
- Credentials feature template version
- customDns stringServer Ip 
- Only relevant when umbrella_dns_defaultisfalse
- description string
- The description of the policy definition.
- dnscrypt boolean
- Should DNSCrypt be enabled
- domainList stringId 
- Local domain bypass list ID
- domainList numberVersion 
- Local domain bypass list version
- localDomain booleanBypass Enabled 
- Should the local domain bypass list be enabled
- matchAll booleanVpn 
- Should use match all VPN
- name string
- The name of the policy definition.
- targetVpns DnsSecurity Policy Definition Target Vpn[] 
- Only relevant when match_all_vpnisfalse
- umbrellaDns 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_defaultisfalse
- 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
- 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[DnsSecurity Policy Definition Target Vpn Args] 
- Only relevant when match_all_vpnisfalse
- umbrella_dns_ booldefault 
- Should use umbrella as DNS Server
- version int
- The version of the object
- ciscoSig StringCredentials Feature Template Id 
- Credentials feature template ID
- ciscoSig NumberCredentials Feature Template Version 
- Credentials feature template version
- customDns StringServer Ip 
- Only relevant when umbrella_dns_defaultisfalse
- description String
- The description of the policy definition.
- dnscrypt Boolean
- Should DNSCrypt be enabled
- domainList StringId 
- Local domain bypass list ID
- domainList NumberVersion 
- Local domain bypass list version
- localDomain BooleanBypass Enabled 
- Should the local domain bypass list be enabled
- matchAll BooleanVpn 
- Should use match all VPN
- name String
- The name of the policy definition.
- targetVpns List<Property Map>
- Only relevant when match_all_vpnisfalse
- umbrellaDns BooleanDefault 
- Should use umbrella as DNS Server
- version Number
- The version of the object
Supporting Types
DnsSecurityPolicyDefinitionTargetVpn, DnsSecurityPolicyDefinitionTargetVpnArgs            
- CustomDns stringServer Ip 
- Only relevant when umbrella_dns_defaultisfalse
- LocalDomain boolBypass Enabled 
- Should the local domain bypass list be enabled
- UmbrellaDns boolDefault 
- Should use umbrella as DNS Server
- VpnIds List<string>
- VPN ID's separated by Comma
- CustomDns stringServer Ip 
- Only relevant when umbrella_dns_defaultisfalse
- LocalDomain boolBypass Enabled 
- Should the local domain bypass list be enabled
- UmbrellaDns boolDefault 
- Should use umbrella as DNS Server
- VpnIds []string
- VPN ID's separated by Comma
- customDns StringServer Ip 
- Only relevant when umbrella_dns_defaultisfalse
- localDomain BooleanBypass Enabled 
- Should the local domain bypass list be enabled
- umbrellaDns BooleanDefault 
- Should use umbrella as DNS Server
- vpnIds List<String>
- VPN ID's separated by Comma
- customDns stringServer Ip 
- Only relevant when umbrella_dns_defaultisfalse
- localDomain booleanBypass Enabled 
- Should the local domain bypass list be enabled
- umbrellaDns booleanDefault 
- Should use umbrella as DNS Server
- vpnIds string[]
- VPN ID's separated by Comma
- custom_dns_ strserver_ ip 
- Only relevant when umbrella_dns_defaultisfalse
- 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
- customDns StringServer Ip 
- Only relevant when umbrella_dns_defaultisfalse
- localDomain BooleanBypass Enabled 
- Should the local domain bypass list be enabled
- umbrellaDns BooleanDefault 
- Should use umbrella as DNS Server
- vpnIds List<String>
- VPN ID's separated by Comma
Import
$ pulumi import sdwan:index/dnsSecurityPolicyDefinition:DnsSecurityPolicyDefinition example "f6b2c44c-693c-4763-b010-895aa3d236bd"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the sdwanTerraform Provider.
