UNPKG

@pulumi/sdwan

Version:

A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1

220 lines (219 loc) 7.04 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * This resource can manage a DNS Security Policy Definition . * * ## Example Usage * * ```typescript * 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 * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import sdwan:index/dnsSecurityPolicyDefinition:DnsSecurityPolicyDefinition example "f6b2c44c-693c-4763-b010-895aa3d236bd" * ``` */ export declare class DnsSecurityPolicyDefinition extends pulumi.CustomResource { /** * Get an existing DnsSecurityPolicyDefinition resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DnsSecurityPolicyDefinitionState, opts?: pulumi.CustomResourceOptions): DnsSecurityPolicyDefinition; /** * Returns true if the given object is an instance of DnsSecurityPolicyDefinition. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DnsSecurityPolicyDefinition; /** * Credentials feature template ID */ readonly ciscoSigCredentialsFeatureTemplateId: pulumi.Output<string>; /** * Credentials feature template version */ readonly ciscoSigCredentialsFeatureTemplateVersion: pulumi.Output<number | undefined>; /** * Only relevant when `umbrellaDnsDefault` is `false` */ readonly customDnsServerIp: pulumi.Output<string | undefined>; /** * The description of the policy definition. */ readonly description: pulumi.Output<string>; /** * Should DNSCrypt be enabled */ readonly dnscrypt: pulumi.Output<boolean | undefined>; /** * Local domain bypass list ID */ readonly domainListId: pulumi.Output<string | undefined>; /** * Local domain bypass list version */ readonly domainListVersion: pulumi.Output<number | undefined>; /** * Should the local domain bypass list be enabled */ readonly localDomainBypassEnabled: pulumi.Output<boolean | undefined>; /** * Should use match all VPN */ readonly matchAllVpn: pulumi.Output<boolean>; /** * The name of the policy definition. */ readonly name: pulumi.Output<string>; /** * Only relevant when `matchAllVpn` is `false` */ readonly targetVpns: pulumi.Output<outputs.DnsSecurityPolicyDefinitionTargetVpn[] | undefined>; /** * Should use umbrella as DNS Server */ readonly umbrellaDnsDefault: pulumi.Output<boolean>; /** * The version of the object */ readonly version: pulumi.Output<number>; /** * Create a DnsSecurityPolicyDefinition resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DnsSecurityPolicyDefinitionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DnsSecurityPolicyDefinition resources. */ export interface DnsSecurityPolicyDefinitionState { /** * Credentials feature template ID */ ciscoSigCredentialsFeatureTemplateId?: pulumi.Input<string>; /** * Credentials feature template version */ ciscoSigCredentialsFeatureTemplateVersion?: pulumi.Input<number>; /** * Only relevant when `umbrellaDnsDefault` is `false` */ customDnsServerIp?: pulumi.Input<string>; /** * The description of the policy definition. */ description?: pulumi.Input<string>; /** * Should DNSCrypt be enabled */ dnscrypt?: pulumi.Input<boolean>; /** * Local domain bypass list ID */ domainListId?: pulumi.Input<string>; /** * Local domain bypass list version */ domainListVersion?: pulumi.Input<number>; /** * Should the local domain bypass list be enabled */ localDomainBypassEnabled?: pulumi.Input<boolean>; /** * Should use match all VPN */ matchAllVpn?: pulumi.Input<boolean>; /** * The name of the policy definition. */ name?: pulumi.Input<string>; /** * Only relevant when `matchAllVpn` is `false` */ targetVpns?: pulumi.Input<pulumi.Input<inputs.DnsSecurityPolicyDefinitionTargetVpn>[]>; /** * Should use umbrella as DNS Server */ umbrellaDnsDefault?: pulumi.Input<boolean>; /** * The version of the object */ version?: pulumi.Input<number>; } /** * The set of arguments for constructing a DnsSecurityPolicyDefinition resource. */ export interface DnsSecurityPolicyDefinitionArgs { /** * Credentials feature template ID */ ciscoSigCredentialsFeatureTemplateId: pulumi.Input<string>; /** * Credentials feature template version */ ciscoSigCredentialsFeatureTemplateVersion?: pulumi.Input<number>; /** * Only relevant when `umbrellaDnsDefault` is `false` */ customDnsServerIp?: pulumi.Input<string>; /** * The description of the policy definition. */ description: pulumi.Input<string>; /** * Should DNSCrypt be enabled */ dnscrypt?: pulumi.Input<boolean>; /** * Local domain bypass list ID */ domainListId?: pulumi.Input<string>; /** * Local domain bypass list version */ domainListVersion?: pulumi.Input<number>; /** * Should the local domain bypass list be enabled */ localDomainBypassEnabled?: pulumi.Input<boolean>; /** * Should use match all VPN */ matchAllVpn: pulumi.Input<boolean>; /** * The name of the policy definition. */ name?: pulumi.Input<string>; /** * Only relevant when `matchAllVpn` is `false` */ targetVpns?: pulumi.Input<pulumi.Input<inputs.DnsSecurityPolicyDefinitionTargetVpn>[]>; /** * Should use umbrella as DNS Server */ umbrellaDnsDefault: pulumi.Input<boolean>; }