@pulumi/sdwan
Version:
A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1
115 lines (114 loc) • 3.48 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* This data source can read the DNS Security Policy.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdwan from "@pulumi/sdwan";
*
* const example = sdwan.getDnsSecurityPolicy({
* id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
* featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
* });
* ```
*/
export declare function getDnsSecurityPolicy(args: GetDnsSecurityPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetDnsSecurityPolicyResult>;
/**
* A collection of arguments for invoking getDnsSecurityPolicy.
*/
export interface GetDnsSecurityPolicyArgs {
/**
* Feature Profile ID
*/
featureProfileId: string;
/**
* The id of the Policy
*/
id: string;
}
/**
* A collection of values returned by getDnsSecurityPolicy.
*/
export interface GetDnsSecurityPolicyResult {
/**
* String that is a number that corresponds to Umbrella Multi Org, can be empty if not using Umbrella Multi Org
*/
readonly childOrgId: string;
/**
* The description of the Policy
*/
readonly description: string;
/**
* If matchAllVpn is false, this field is only true if at least one of the targetVpns entires contains an umbrellaDefault true
*/
readonly dnsCrypt: boolean;
/**
* Field will only be under data field if matchAllVpn is true, otherwise field will be under targetVpns and set per entry
*/
readonly dnsServerIp: string;
/**
* Feature Profile ID
*/
readonly featureProfileId: string;
/**
* The id of the Policy
*/
readonly id: string;
/**
* Field will only be under data field if matchAllVpn is true, otherwise field will be under targetVpns and set per entry
*/
readonly localDomainBypassEnabled: boolean;
readonly localDomainBypassListId: string;
/**
* If this is true, there shouldn't be a targetVpns field, if false then targetVpns field should be there
*/
readonly matchAllVpn: boolean;
/**
* The name of the Policy
*/
readonly name: string;
/**
* Will be under data field only if matchAllVpn is false, if matchAllVpn is true field should not be in payload
*/
readonly targetVpns: outputs.GetDnsSecurityPolicyTargetVpn[];
/**
* Field will only be under data field if matchAllVpn is true, otherwise field will be under targetVpns and set per entry
*/
readonly umbrellaDefault: boolean;
/**
* The version of the Policy
*/
readonly version: number;
}
/**
* This data source can read the DNS Security Policy.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdwan from "@pulumi/sdwan";
*
* const example = sdwan.getDnsSecurityPolicy({
* id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
* featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
* });
* ```
*/
export declare function getDnsSecurityPolicyOutput(args: GetDnsSecurityPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDnsSecurityPolicyResult>;
/**
* A collection of arguments for invoking getDnsSecurityPolicy.
*/
export interface GetDnsSecurityPolicyOutputArgs {
/**
* Feature Profile ID
*/
featureProfileId: pulumi.Input<string>;
/**
* The id of the Policy
*/
id: pulumi.Input<string>;
}