@pulumi/sdwan
Version:
A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1
270 lines (269 loc) • 9.91 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* This resource can manage a Cisco Secure Internet Gateway feature template.
* - Minimum SD-WAN Manager version: `15.0.0`
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdwan from "@pulumi/sdwan";
*
* const example = new sdwan.CiscoSecureInternetGatewayFeatureTemplate("example", {
* name: "Example",
* description: "My Example",
* deviceTypes: ["vedge-C8000V"],
* vpnId: 1,
* interfaces: [{
* name: "ipsec1",
* autoTunnelMode: true,
* shutdown: true,
* description: "My Description",
* ipUnnumbered: false,
* ipv4Address: "1.2.3.4/24",
* tunnelSource: "3.3.3.3",
* tunnelSourceInterface: "ge0/1",
* tunnelRouteVia: "ge0/2",
* tunnelDestination: "3.4.5.6",
* application: "sig",
* sigProvider: "secure-internet-gateway-umbrella",
* tunnelDcPreference: "primary-dc",
* tcpMss: 1400,
* mtu: 1500,
* deadPeerDetectionInterval: 30,
* deadPeerDetectionRetries: 5,
* ikeVersion: 1,
* ikePreSharedKey: "A1234567",
* ikeRekeyInterval: 600,
* ikeCiphersuite: "aes256-cbc-sha2",
* ikeGroup: "14",
* ikePreSharedKeyDynamic: false,
* ikePreSharedKeyLocalId: "1.2.3.4",
* ikePreSharedKeyRemoteId: "2.3.4.5",
* ipsecRekeyInterval: 7200,
* ipsecReplayWindow: 1024,
* ipsecCiphersuite: "aes256-cbc-sha1",
* ipsecPerfectForwardSecrecy: "group-14",
* tracker: "test",
* trackEnable: false,
* tunnelPublicIp: "5.5.5.5",
* }],
* services: [{
* serviceType: "sig",
* interfacePairs: [{
* activeInterface: "e1",
* backupInterface: "e2",
* activeInterfaceWeight: 10,
* backupInterfaceWeight: 20,
* }],
* zscalerAuthenticationRequired: true,
* zscalerXffForward: true,
* zscalerFirewallEnabled: true,
* zscalerIpsControlEnabled: true,
* zscalerCautionEnabled: true,
* zscalerPrimaryDataCenter: "Auto",
* zscalerSecondaryDataCenter: "Auto",
* zscalerSurrogateIp: true,
* zscalerSurrogateIdleTime: 100,
* zscalerSurrogateDisplayTimeUnit: "MINUTE",
* zscalerSurrogateIpEnforceForKnownBrowsers: true,
* zscalerSurrogateRefreshTime: 12345,
* zscalerSurrogateRefreshTimeUnit: "MINUTE",
* zscalerAupEnabled: true,
* zscalerAupBlockInternetUntilAccepted: true,
* zscalerAupForceSslInspection: true,
* zscalerAupTimeout: 60,
* zscalerLocationName: "LOC1",
* umbrellaPrimaryDataCenter: "Auto",
* umbrellaSecondaryDataCenter: "Auto",
* }],
* trackerSourceIp: "2.3.4.5",
* trackers: [{
* trackerType: "SIG",
* name: "TRACKER1",
* endpointApiUrl: "https://1.1.1.1",
* threshold: 500,
* interval: 60,
* multiplier: 4,
* }],
* });
* ```
*
* ## Import
*
* The `pulumi import` command can be used, for example:
*
* ```sh
* $ pulumi import sdwan:index/ciscoSecureInternetGatewayFeatureTemplate:CiscoSecureInternetGatewayFeatureTemplate example "f6b2c44c-693c-4763-b010-895aa3d236bd"
* ```
*/
export declare class CiscoSecureInternetGatewayFeatureTemplate extends pulumi.CustomResource {
/**
* Get an existing CiscoSecureInternetGatewayFeatureTemplate 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?: CiscoSecureInternetGatewayFeatureTemplateState, opts?: pulumi.CustomResourceOptions): CiscoSecureInternetGatewayFeatureTemplate;
/**
* Returns true if the given object is an instance of CiscoSecureInternetGatewayFeatureTemplate. 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 CiscoSecureInternetGatewayFeatureTemplate;
/**
* The description of the feature template
*/
readonly description: pulumi.Output<string>;
/**
* List of supported device types
* - Choices: `vedge-C8000V`, `vedge-C8300-1N1S-4T2X`, `vedge-C8300-1N1S-6T`, `vedge-C8300-2N2S-6T`, `vedge-C8300-2N2S-4T2X`, `vedge-C8500-12X4QC`, `vedge-C8500-12X`, `vedge-C8500-20X6C`, `vedge-C8500L-8S4X`, `vedge-C8200-1N-4T`, `vedge-C8200L-1N-4T`
*/
readonly deviceTypes: pulumi.Output<string[]>;
/**
* Interface name: IPsec when present
*/
readonly interfaces: pulumi.Output<outputs.CiscoSecureInternetGatewayFeatureTemplateInterface[] | undefined>;
/**
* The name of the feature template
*/
readonly name: pulumi.Output<string>;
/**
* Configure services
*/
readonly services: pulumi.Output<outputs.CiscoSecureInternetGatewayFeatureTemplateService[] | undefined>;
/**
* The template type
*/
readonly templateType: pulumi.Output<string>;
/**
* Source IP address for Tracker
*/
readonly trackerSourceIp: pulumi.Output<string | undefined>;
/**
* Variable name
*/
readonly trackerSourceIpVariable: pulumi.Output<string | undefined>;
/**
* Tracker configuration
*/
readonly trackers: pulumi.Output<outputs.CiscoSecureInternetGatewayFeatureTemplateTracker[] | undefined>;
/**
* The version of the feature template
*/
readonly version: pulumi.Output<number>;
/**
* List of VPN instances
* - Range: `0`-`65527`
* - Default value: `0`
*/
readonly vpnId: pulumi.Output<number | undefined>;
/**
* Create a CiscoSecureInternetGatewayFeatureTemplate 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: CiscoSecureInternetGatewayFeatureTemplateArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering CiscoSecureInternetGatewayFeatureTemplate resources.
*/
export interface CiscoSecureInternetGatewayFeatureTemplateState {
/**
* The description of the feature template
*/
description?: pulumi.Input<string>;
/**
* List of supported device types
* - Choices: `vedge-C8000V`, `vedge-C8300-1N1S-4T2X`, `vedge-C8300-1N1S-6T`, `vedge-C8300-2N2S-6T`, `vedge-C8300-2N2S-4T2X`, `vedge-C8500-12X4QC`, `vedge-C8500-12X`, `vedge-C8500-20X6C`, `vedge-C8500L-8S4X`, `vedge-C8200-1N-4T`, `vedge-C8200L-1N-4T`
*/
deviceTypes?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Interface name: IPsec when present
*/
interfaces?: pulumi.Input<pulumi.Input<inputs.CiscoSecureInternetGatewayFeatureTemplateInterface>[]>;
/**
* The name of the feature template
*/
name?: pulumi.Input<string>;
/**
* Configure services
*/
services?: pulumi.Input<pulumi.Input<inputs.CiscoSecureInternetGatewayFeatureTemplateService>[]>;
/**
* The template type
*/
templateType?: pulumi.Input<string>;
/**
* Source IP address for Tracker
*/
trackerSourceIp?: pulumi.Input<string>;
/**
* Variable name
*/
trackerSourceIpVariable?: pulumi.Input<string>;
/**
* Tracker configuration
*/
trackers?: pulumi.Input<pulumi.Input<inputs.CiscoSecureInternetGatewayFeatureTemplateTracker>[]>;
/**
* The version of the feature template
*/
version?: pulumi.Input<number>;
/**
* List of VPN instances
* - Range: `0`-`65527`
* - Default value: `0`
*/
vpnId?: pulumi.Input<number>;
}
/**
* The set of arguments for constructing a CiscoSecureInternetGatewayFeatureTemplate resource.
*/
export interface CiscoSecureInternetGatewayFeatureTemplateArgs {
/**
* The description of the feature template
*/
description: pulumi.Input<string>;
/**
* List of supported device types
* - Choices: `vedge-C8000V`, `vedge-C8300-1N1S-4T2X`, `vedge-C8300-1N1S-6T`, `vedge-C8300-2N2S-6T`, `vedge-C8300-2N2S-4T2X`, `vedge-C8500-12X4QC`, `vedge-C8500-12X`, `vedge-C8500-20X6C`, `vedge-C8500L-8S4X`, `vedge-C8200-1N-4T`, `vedge-C8200L-1N-4T`
*/
deviceTypes: pulumi.Input<pulumi.Input<string>[]>;
/**
* Interface name: IPsec when present
*/
interfaces?: pulumi.Input<pulumi.Input<inputs.CiscoSecureInternetGatewayFeatureTemplateInterface>[]>;
/**
* The name of the feature template
*/
name?: pulumi.Input<string>;
/**
* Configure services
*/
services?: pulumi.Input<pulumi.Input<inputs.CiscoSecureInternetGatewayFeatureTemplateService>[]>;
/**
* Source IP address for Tracker
*/
trackerSourceIp?: pulumi.Input<string>;
/**
* Variable name
*/
trackerSourceIpVariable?: pulumi.Input<string>;
/**
* Tracker configuration
*/
trackers?: pulumi.Input<pulumi.Input<inputs.CiscoSecureInternetGatewayFeatureTemplateTracker>[]>;
/**
* List of VPN instances
* - Range: `0`-`65527`
* - Default value: `0`
*/
vpnId?: pulumi.Input<number>;
}