UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

177 lines (176 loc) 5.34 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * AutoVpnCluster resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // * // Auto VPN Cluster Configuration * // * const testCluster = new scm.AutoVpnCluster("test_cluster", { * name: "test-will-be-deleted", * type: "hub-spoke", * enableSdwan: true, * gateways: [{ * name: "008199000033876", * bgpRedistributionProfile: "All-Connected-Routes", * priority: "1", * logicalRouter: "untrust-logical-router", * interfaces: [{ * name: "$mesh-interface", * sdwanLinkSettings: { * sdwanInterfaceProfile: "test-sdwan-profile", * sdwanGateway: "$mesh-subnet-gateway-address", * upstreamNat: { * enable: false, * }, * }, * }], * }], * branches: [{ * name: "008199000033879", * bgpRedistributionProfile: "All-Connected-Routes", * logicalRouter: "trust-logical-router", * interfaces: [{ * name: "$trust-interface", * sdwanLinkSettings: { * sdwanInterfaceProfile: "test-sdwan-profile", * upstreamNat: { * enable: true, * staticIp: { * ipAddress: "$trust-subnet-gateway-address", * }, * }, * }, * }], * }], * }); * ``` */ export declare class AutoVpnCluster extends pulumi.CustomResource { /** * Get an existing AutoVpnCluster 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?: AutoVpnClusterState, opts?: pulumi.CustomResourceOptions): AutoVpnCluster; /** * Returns true if the given object is an instance of AutoVpnCluster. 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 AutoVpnCluster; /** * Branches */ readonly branches: pulumi.Output<outputs.AutoVpnClusterBranch[] | undefined>; /** * Enable mesh between hubs? */ readonly enableMeshBetweenHubs: pulumi.Output<boolean | undefined>; /** * Enable mesh interconnect? */ readonly enableMeshInterconnect: pulumi.Output<boolean | undefined>; /** * Enable SD-WAN? */ readonly enableSdwan: pulumi.Output<boolean | undefined>; /** * Hubs */ readonly gateways: pulumi.Output<outputs.AutoVpnClusterGateway[] | undefined>; /** * VPN cluster name */ readonly name: pulumi.Output<string>; readonly tfid: pulumi.Output<string>; /** * VPN cluster type */ readonly type: pulumi.Output<string>; /** * Create a AutoVpnCluster 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?: AutoVpnClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AutoVpnCluster resources. */ export interface AutoVpnClusterState { /** * Branches */ branches?: pulumi.Input<pulumi.Input<inputs.AutoVpnClusterBranch>[]>; /** * Enable mesh between hubs? */ enableMeshBetweenHubs?: pulumi.Input<boolean>; /** * Enable mesh interconnect? */ enableMeshInterconnect?: pulumi.Input<boolean>; /** * Enable SD-WAN? */ enableSdwan?: pulumi.Input<boolean>; /** * Hubs */ gateways?: pulumi.Input<pulumi.Input<inputs.AutoVpnClusterGateway>[]>; /** * VPN cluster name */ name?: pulumi.Input<string>; tfid?: pulumi.Input<string>; /** * VPN cluster type */ type?: pulumi.Input<string>; } /** * The set of arguments for constructing a AutoVpnCluster resource. */ export interface AutoVpnClusterArgs { /** * Branches */ branches?: pulumi.Input<pulumi.Input<inputs.AutoVpnClusterBranch>[]>; /** * Enable mesh between hubs? */ enableMeshBetweenHubs?: pulumi.Input<boolean>; /** * Enable mesh interconnect? */ enableMeshInterconnect?: pulumi.Input<boolean>; /** * Enable SD-WAN? */ enableSdwan?: pulumi.Input<boolean>; /** * Hubs */ gateways?: pulumi.Input<pulumi.Input<inputs.AutoVpnClusterGateway>[]>; /** * VPN cluster name */ name?: pulumi.Input<string>; /** * VPN cluster type */ type?: pulumi.Input<string>; }