Module vpn
This page documents the language specification for the alicloud package. If you're looking for help working with the inputs, outputs, or functions of alicloud resources in a Pulumi program, please see the resource documentation for examples and API reference.
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the
pulumi/pulumi-alicloudrepo; however, if that doesn’t turn up anything, please consult the sourceterraform-providers/terraform-provider-alicloudrepo.
Resources
Functions
Others
- ConnectionArgs
- ConnectionState
- CustomerGatewayArgs
- CustomerGatewayState
- GatewayArgs
- GatewayState
- GetConnectionsArgs
- GetConnectionsResult
- GetCustomerGatewaysArgs
- GetCustomerGatewaysResult
- GetGatewaysArgs
- GetGatewaysResult
- RouteEntryArgs
- RouteEntryState
- SslVpnClientCertArgs
- SslVpnClientCertState
- SslVpnServerArgs
- SslVpnServerState
Resources
Resource Connection
class Connection extends CustomResourceconstructor
new Connection(name: string, args: ConnectionArgs, opts?: pulumi.CustomResourceOptions)Create a Connection resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConnectionState, opts?: pulumi.CustomResourceOptions): ConnectionGet an existing Connection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ConnectionReturns true if the given object is an instance of Connection. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property customerGatewayId
public customerGatewayId: pulumi.Output<string>;The ID of the customer gateway.
property effectImmediately
public effectImmediately: pulumi.Output<boolean | undefined>;Whether to delete a successfully negotiated IPsec tunnel and initiate a negotiation again. Valid value:true,false.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property ikeConfigs
public ikeConfigs: pulumi.Output<ConnectionIkeConfig[]>;The configurations of phase-one negotiation.
property ipsecConfigs
public ipsecConfigs: pulumi.Output<ConnectionIpsecConfig[]>;The configurations of phase-two negotiation.
property localSubnets
public localSubnets: pulumi.Output<string[]>;The CIDR block of the VPC to be connected with the local data center. This parameter is used for phase-two negotiation.
property name
public name: pulumi.Output<string>;The name of the IPsec connection.
property remoteSubnets
public remoteSubnets: pulumi.Output<string[]>;The CIDR block of the local data center. This parameter is used for phase-two negotiation.
property status
public status: pulumi.Output<string>;The status of VPN connection.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
property vpnGatewayId
public vpnGatewayId: pulumi.Output<string>;The ID of the VPN gateway.
Resource CustomerGateway
class CustomerGateway extends CustomResourceconstructor
new CustomerGateway(name: string, args: CustomerGatewayArgs, opts?: pulumi.CustomResourceOptions)Create a CustomerGateway resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CustomerGatewayState, opts?: pulumi.CustomResourceOptions): CustomerGatewayGet an existing CustomerGateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is CustomerGatewayReturns true if the given object is an instance of CustomerGateway. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property description
public description: pulumi.Output<string | undefined>;The description of the VPN customer gateway instance.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property ipAddress
public ipAddress: pulumi.Output<string>;The IP address of the customer gateway.
property name
public name: pulumi.Output<string>;The name of the VPN customer gateway. Defaults to null.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource Gateway
class Gateway extends CustomResourceconstructor
new Gateway(name: string, args: GatewayArgs, opts?: pulumi.CustomResourceOptions)Create a Gateway resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GatewayState, opts?: pulumi.CustomResourceOptions): GatewayGet an existing Gateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is GatewayReturns true if the given object is an instance of Gateway. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property bandwidth
public bandwidth: pulumi.Output<number>;property businessStatus
public businessStatus: pulumi.Output<string>;The business status of the VPN gateway.
property description
public description: pulumi.Output<string | undefined>;The description of the VPN instance.
property enableIpsec
public enableIpsec: pulumi.Output<boolean | undefined>;Enable or Disable IPSec VPN. At least one type of VPN should be enabled.
property enableSsl
public enableSsl: pulumi.Output<boolean | undefined>;Enable or Disable SSL VPN. At least one type of VPN should be enabled.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property instanceChargeType
public instanceChargeType: pulumi.Output<string | undefined>;The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid. Default to PostPaid.
property internetIp
public internetIp: pulumi.Output<string>;The internet ip of the VPN.
property name
public name: pulumi.Output<string>;The name of the VPN. Defaults to null.
property period
public period: pulumi.Output<number | undefined>;The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1.
property sslConnections
public sslConnections: pulumi.Output<number | undefined>;The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different. This field is ignored when enableSsl is false.
property status
public status: pulumi.Output<string>;The status of the VPN gateway.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
property vpcId
public vpcId: pulumi.Output<string>;The VPN belongs the vpc_id, the field can’t be changed.
property vswitchId
public vswitchId: pulumi.Output<string>;The VPN belongs the vswitch_id, the field can’t be changed.
Resource RouteEntry
class RouteEntry extends CustomResourceconstructor
new RouteEntry(name: string, args: RouteEntryArgs, opts?: pulumi.CustomResourceOptions)Create a RouteEntry resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouteEntryState, opts?: pulumi.CustomResourceOptions): RouteEntryGet an existing RouteEntry resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is RouteEntryReturns true if the given object is an instance of RouteEntry. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property nextHop
public nextHop: pulumi.Output<string>;The next hop of the destination route.
property publishVpc
public publishVpc: pulumi.Output<boolean>;Whether to issue the destination route to the VPC.
property routeDest
public routeDest: pulumi.Output<string>;The destination network segment of the destination route.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
property vpnGatewayId
public vpnGatewayId: pulumi.Output<string>;The id of the vpn gateway.
property weight
public weight: pulumi.Output<number>;The value should be 0 or 100.
Resource SslVpnClientCert
class SslVpnClientCert extends CustomResourceconstructor
new SslVpnClientCert(name: string, args: SslVpnClientCertArgs, opts?: pulumi.CustomResourceOptions)Create a SslVpnClientCert resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SslVpnClientCertState, opts?: pulumi.CustomResourceOptions): SslVpnClientCertGet an existing SslVpnClientCert resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is SslVpnClientCertReturns true if the given object is an instance of SslVpnClientCert. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property caCert
public caCert: pulumi.Output<string>;property clientCert
public clientCert: pulumi.Output<string>;property clientConfig
public clientConfig: pulumi.Output<string>;property clientKey
public clientKey: pulumi.Output<string>;property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property name
public name: pulumi.Output<string>;property sslVpnServerId
public sslVpnServerId: pulumi.Output<string>;property status
public status: pulumi.Output<string>;property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource SslVpnServer
class SslVpnServer extends CustomResourceconstructor
new SslVpnServer(name: string, args: SslVpnServerArgs, opts?: pulumi.CustomResourceOptions)Create a SslVpnServer resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SslVpnServerState, opts?: pulumi.CustomResourceOptions): SslVpnServerGet an existing SslVpnServer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is SslVpnServerReturns true if the given object is an instance of SslVpnServer. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property cipher
public cipher: pulumi.Output<string | undefined>;The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none
property clientIpPool
public clientIpPool: pulumi.Output<string>;The CIDR block from which access addresses are allocated to the virtual network interface card of the client.
property compress
public compress: pulumi.Output<boolean | undefined>;Specify whether to compress the communication. Valid value: true (default) | false
property connections
public connections: pulumi.Output<number>;The number of current connections.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property internetIp
public internetIp: pulumi.Output<string>;The internet IP of the SSL-VPN server.
property localSubnet
public localSubnet: pulumi.Output<string>;The CIDR block to be accessed by the client through the SSL-VPN connection. It supports to set multi CIDRs by comma join ways, like 10.0.1.0/24,10.0.2.0/24,10.0.3.0/24.
property maxConnections
public maxConnections: pulumi.Output<number>;The maximum number of connections.
property name
public name: pulumi.Output<string>;The name of the SSL-VPN server.
property port
public port: pulumi.Output<number | undefined>;The port used by the SSL-VPN server. The default value is 1194.The following ports cannot be used: [22, 2222, 22222, 9000, 9001, 9002, 7505, 80, 443, 53, 68, 123, 4510, 4560, 500, 4500].
property protocol
public protocol: pulumi.Output<string | undefined>;The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
property vpnGatewayId
public vpnGatewayId: pulumi.Output<string>;The ID of the VPN gateway.
Functions
Function getConnections
getConnections(args?: GetConnectionsArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionsResult>The VPN connections data source lists lots of VPN connections resource information owned by an Alicloud account.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const foo = pulumi.output(alicloud.vpn.getConnections({
customerGatewayId: "fake-cgw-id",
ids: ["fake-conn-id"],
outputFile: "/tmp/vpnconn",
vpnGatewayId: "fake-vpn-id",
}, { async: true }));Function getCustomerGateways
getCustomerGateways(args?: GetCustomerGatewaysArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomerGatewaysResult>The VPN customers gateways data source lists a number of VPN customer gateways resource information owned by an Alicloud account.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const foo = pulumi.output(alicloud.vpn.getCustomerGateways({
ids: [
"fake-id1",
"fake-id2",
],
nameRegex: "testAcc*",
outputFile: "/tmp/cgws",
}, { async: true }));Function getGateways
getGateways(args?: GetGatewaysArgs, opts?: pulumi.InvokeOptions): Promise<GetGatewaysResult>The VPNs data source lists a number of VPNs resource information owned by an Alicloud account.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const vpnGateways = pulumi.output(alicloud.vpn.getGateways({
businessStatus: "Normal",
ids: [
"fake-vpn-id1",
"fake-vpn-id2",
],
nameRegex: "testAcc*",
outputFile: "/tmp/vpns",
status: "active",
vpcId: "fake-vpc-id",
}, { async: true }));Others
interface ConnectionArgs
interface ConnectionArgsThe set of arguments for constructing a Connection resource.
property customerGatewayId
customerGatewayId: pulumi.Input<string>;The ID of the customer gateway.
property effectImmediately
effectImmediately?: pulumi.Input<boolean>;Whether to delete a successfully negotiated IPsec tunnel and initiate a negotiation again. Valid value:true,false.
property ikeConfigs
ikeConfigs?: pulumi.Input<pulumi.Input<ConnectionIkeConfig>[]>;The configurations of phase-one negotiation.
property ipsecConfigs
ipsecConfigs?: pulumi.Input<pulumi.Input<ConnectionIpsecConfig>[]>;The configurations of phase-two negotiation.
property localSubnets
localSubnets: pulumi.Input<pulumi.Input<string>[]>;The CIDR block of the VPC to be connected with the local data center. This parameter is used for phase-two negotiation.
property name
name?: pulumi.Input<string>;The name of the IPsec connection.
property remoteSubnets
remoteSubnets: pulumi.Input<pulumi.Input<string>[]>;The CIDR block of the local data center. This parameter is used for phase-two negotiation.
property vpnGatewayId
vpnGatewayId: pulumi.Input<string>;The ID of the VPN gateway.
interface ConnectionState
interface ConnectionStateInput properties used for looking up and filtering Connection resources.
property customerGatewayId
customerGatewayId?: pulumi.Input<string>;The ID of the customer gateway.
property effectImmediately
effectImmediately?: pulumi.Input<boolean>;Whether to delete a successfully negotiated IPsec tunnel and initiate a negotiation again. Valid value:true,false.
property ikeConfigs
ikeConfigs?: pulumi.Input<pulumi.Input<ConnectionIkeConfig>[]>;The configurations of phase-one negotiation.
property ipsecConfigs
ipsecConfigs?: pulumi.Input<pulumi.Input<ConnectionIpsecConfig>[]>;The configurations of phase-two negotiation.
property localSubnets
localSubnets?: pulumi.Input<pulumi.Input<string>[]>;The CIDR block of the VPC to be connected with the local data center. This parameter is used for phase-two negotiation.
property name
name?: pulumi.Input<string>;The name of the IPsec connection.
property remoteSubnets
remoteSubnets?: pulumi.Input<pulumi.Input<string>[]>;The CIDR block of the local data center. This parameter is used for phase-two negotiation.
property status
status?: pulumi.Input<string>;The status of VPN connection.
property vpnGatewayId
vpnGatewayId?: pulumi.Input<string>;The ID of the VPN gateway.
interface CustomerGatewayArgs
interface CustomerGatewayArgsThe set of arguments for constructing a CustomerGateway resource.
property description
description?: pulumi.Input<string>;The description of the VPN customer gateway instance.
property ipAddress
ipAddress: pulumi.Input<string>;The IP address of the customer gateway.
property name
name?: pulumi.Input<string>;The name of the VPN customer gateway. Defaults to null.
interface CustomerGatewayState
interface CustomerGatewayStateInput properties used for looking up and filtering CustomerGateway resources.
property description
description?: pulumi.Input<string>;The description of the VPN customer gateway instance.
property ipAddress
ipAddress?: pulumi.Input<string>;The IP address of the customer gateway.
property name
name?: pulumi.Input<string>;The name of the VPN customer gateway. Defaults to null.
interface GatewayArgs
interface GatewayArgsThe set of arguments for constructing a Gateway resource.
property bandwidth
bandwidth: pulumi.Input<number>;property description
description?: pulumi.Input<string>;The description of the VPN instance.
property enableIpsec
enableIpsec?: pulumi.Input<boolean>;Enable or Disable IPSec VPN. At least one type of VPN should be enabled.
property enableSsl
enableSsl?: pulumi.Input<boolean>;Enable or Disable SSL VPN. At least one type of VPN should be enabled.
property instanceChargeType
instanceChargeType?: pulumi.Input<string>;The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid. Default to PostPaid.
property name
name?: pulumi.Input<string>;The name of the VPN. Defaults to null.
property period
period?: pulumi.Input<number>;The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1.
property sslConnections
sslConnections?: pulumi.Input<number>;The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different. This field is ignored when enableSsl is false.
property vpcId
vpcId: pulumi.Input<string>;The VPN belongs the vpc_id, the field can’t be changed.
property vswitchId
vswitchId?: pulumi.Input<string>;The VPN belongs the vswitch_id, the field can’t be changed.
interface GatewayState
interface GatewayStateInput properties used for looking up and filtering Gateway resources.
property bandwidth
bandwidth?: pulumi.Input<number>;property businessStatus
businessStatus?: pulumi.Input<string>;The business status of the VPN gateway.
property description
description?: pulumi.Input<string>;The description of the VPN instance.
property enableIpsec
enableIpsec?: pulumi.Input<boolean>;Enable or Disable IPSec VPN. At least one type of VPN should be enabled.
property enableSsl
enableSsl?: pulumi.Input<boolean>;Enable or Disable SSL VPN. At least one type of VPN should be enabled.
property instanceChargeType
instanceChargeType?: pulumi.Input<string>;The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid. Default to PostPaid.
property internetIp
internetIp?: pulumi.Input<string>;The internet ip of the VPN.
property name
name?: pulumi.Input<string>;The name of the VPN. Defaults to null.
property period
period?: pulumi.Input<number>;The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1.
property sslConnections
sslConnections?: pulumi.Input<number>;The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different. This field is ignored when enableSsl is false.
property status
status?: pulumi.Input<string>;The status of the VPN gateway.
property vpcId
vpcId?: pulumi.Input<string>;The VPN belongs the vpc_id, the field can’t be changed.
property vswitchId
vswitchId?: pulumi.Input<string>;The VPN belongs the vswitch_id, the field can’t be changed.
interface GetConnectionsArgs
interface GetConnectionsArgsA collection of arguments for invoking getConnections.
property customerGatewayId
customerGatewayId?: undefined | string;Use the VPN customer gateway ID as the search key.
property ids
ids?: string[];IDs of the VPN connections.
property nameRegex
nameRegex?: undefined | string;A regex string of VPN connection name.
property outputFile
outputFile?: undefined | string;Save the result to the file.
property vpnGatewayId
vpnGatewayId?: undefined | string;Use the VPN gateway ID as the search key.
interface GetConnectionsResult
interface GetConnectionsResultA collection of values returned by getConnections.
property connections
connections: GetConnectionsConnection[];A list of VPN connections. Each element contains the following attributes:
property customerGatewayId
customerGatewayId?: undefined | string;ID of the VPN customer gateway.
property id
id: string;The provider-assigned unique ID for this managed resource.
property ids
ids: string[];(Optional) IDs of the VPN connections.
property nameRegex
nameRegex?: undefined | string;property names
names: string[];(Optional) names of the VPN connections.
property outputFile
outputFile?: undefined | string;property vpnGatewayId
vpnGatewayId?: undefined | string;ID of the VPN gateway.
interface GetCustomerGatewaysArgs
interface GetCustomerGatewaysArgsA collection of arguments for invoking getCustomerGateways.
property ids
ids?: string[];ID of the VPN customer gateways.
property nameRegex
nameRegex?: undefined | string;A regex string of VPN customer gateways name.
property outputFile
outputFile?: undefined | string;Save the result to the file.
interface GetCustomerGatewaysResult
interface GetCustomerGatewaysResultA collection of values returned by getCustomerGateways.
property gateways
gateways: GetCustomerGatewaysGateway[];A list of VPN customer gateways. Each element contains the following attributes:
property id
id: string;The provider-assigned unique ID for this managed resource.
property ids
ids: string[];property nameRegex
nameRegex?: undefined | string;property names
names: string[];property outputFile
outputFile?: undefined | string;interface GetGatewaysArgs
interface GetGatewaysArgsA collection of arguments for invoking getGateways.
property businessStatus
businessStatus?: undefined | string;Limit search to specific business status - valid value is “Normal”, “FinancialLocked”.
property ids
ids?: string[];IDs of the VPN.
property nameRegex
nameRegex?: undefined | string;A regex string of VPN name.
property outputFile
outputFile?: undefined | string;Save the result to the file.
property status
status?: undefined | string;Limit search to specific status - valid value is “Init”, “Provisioning”, “Active”, “Updating”, “Deleting”.
property vpcId
vpcId?: undefined | string;Use the VPC ID as the search key.
interface GetGatewaysResult
interface GetGatewaysResultA collection of values returned by getGateways.
property businessStatus
businessStatus?: undefined | string;The business status of the VPN gateway.
property gateways
gateways: GetGatewaysGateway[];A list of VPN gateways. Each element contains the following attributes:
property id
id: string;The provider-assigned unique ID for this managed resource.
property ids
ids: string[];IDs of the VPN.
property nameRegex
nameRegex?: undefined | string;property names
names: string[];names of the VPN.
property outputFile
outputFile?: undefined | string;property status
status?: undefined | string;The status of the VPN
property vpcId
vpcId?: undefined | string;ID of the VPC that the VPN belongs.
interface RouteEntryArgs
interface RouteEntryArgsThe set of arguments for constructing a RouteEntry resource.
property nextHop
nextHop: pulumi.Input<string>;The next hop of the destination route.
property publishVpc
publishVpc: pulumi.Input<boolean>;Whether to issue the destination route to the VPC.
property routeDest
routeDest: pulumi.Input<string>;The destination network segment of the destination route.
property vpnGatewayId
vpnGatewayId: pulumi.Input<string>;The id of the vpn gateway.
property weight
weight: pulumi.Input<number>;The value should be 0 or 100.
interface RouteEntryState
interface RouteEntryStateInput properties used for looking up and filtering RouteEntry resources.
property nextHop
nextHop?: pulumi.Input<string>;The next hop of the destination route.
property publishVpc
publishVpc?: pulumi.Input<boolean>;Whether to issue the destination route to the VPC.
property routeDest
routeDest?: pulumi.Input<string>;The destination network segment of the destination route.
property vpnGatewayId
vpnGatewayId?: pulumi.Input<string>;The id of the vpn gateway.
property weight
weight?: pulumi.Input<number>;The value should be 0 or 100.
interface SslVpnClientCertArgs
interface SslVpnClientCertArgsThe set of arguments for constructing a SslVpnClientCert resource.
property name
name?: pulumi.Input<string>;property sslVpnServerId
sslVpnServerId: pulumi.Input<string>;interface SslVpnClientCertState
interface SslVpnClientCertStateInput properties used for looking up and filtering SslVpnClientCert resources.
property caCert
caCert?: pulumi.Input<string>;property clientCert
clientCert?: pulumi.Input<string>;property clientConfig
clientConfig?: pulumi.Input<string>;property clientKey
clientKey?: pulumi.Input<string>;property name
name?: pulumi.Input<string>;property sslVpnServerId
sslVpnServerId?: pulumi.Input<string>;property status
status?: pulumi.Input<string>;interface SslVpnServerArgs
interface SslVpnServerArgsThe set of arguments for constructing a SslVpnServer resource.
property cipher
cipher?: pulumi.Input<string>;The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none
property clientIpPool
clientIpPool: pulumi.Input<string>;The CIDR block from which access addresses are allocated to the virtual network interface card of the client.
property compress
compress?: pulumi.Input<boolean>;Specify whether to compress the communication. Valid value: true (default) | false
property localSubnet
localSubnet: pulumi.Input<string>;The CIDR block to be accessed by the client through the SSL-VPN connection. It supports to set multi CIDRs by comma join ways, like 10.0.1.0/24,10.0.2.0/24,10.0.3.0/24.
property name
name?: pulumi.Input<string>;The name of the SSL-VPN server.
property port
port?: pulumi.Input<number>;The port used by the SSL-VPN server. The default value is 1194.The following ports cannot be used: [22, 2222, 22222, 9000, 9001, 9002, 7505, 80, 443, 53, 68, 123, 4510, 4560, 500, 4500].
property protocol
protocol?: pulumi.Input<string>;The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP
property vpnGatewayId
vpnGatewayId: pulumi.Input<string>;The ID of the VPN gateway.
interface SslVpnServerState
interface SslVpnServerStateInput properties used for looking up and filtering SslVpnServer resources.
property cipher
cipher?: pulumi.Input<string>;The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none
property clientIpPool
clientIpPool?: pulumi.Input<string>;The CIDR block from which access addresses are allocated to the virtual network interface card of the client.
property compress
compress?: pulumi.Input<boolean>;Specify whether to compress the communication. Valid value: true (default) | false
property connections
connections?: pulumi.Input<number>;The number of current connections.
property internetIp
internetIp?: pulumi.Input<string>;The internet IP of the SSL-VPN server.
property localSubnet
localSubnet?: pulumi.Input<string>;The CIDR block to be accessed by the client through the SSL-VPN connection. It supports to set multi CIDRs by comma join ways, like 10.0.1.0/24,10.0.2.0/24,10.0.3.0/24.
property maxConnections
maxConnections?: pulumi.Input<number>;The maximum number of connections.
property name
name?: pulumi.Input<string>;The name of the SSL-VPN server.
property port
port?: pulumi.Input<number>;The port used by the SSL-VPN server. The default value is 1194.The following ports cannot be used: [22, 2222, 22222, 9000, 9001, 9002, 7505, 80, 443, 53, 68, 123, 4510, 4560, 500, 4500].
property protocol
protocol?: pulumi.Input<string>;The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP
property vpnGatewayId
vpnGatewayId?: pulumi.Input<string>;The ID of the VPN gateway.