GatewayArgs

data class GatewayArgs(val autoPay: Output<Boolean>? = null, val autoPropagate: Output<Boolean>? = null, val bandwidth: Output<Int>? = null, val description: Output<String>? = null, val enableIpsec: Output<Boolean>? = null, val enableSsl: Output<Boolean>? = null, val instanceChargeType: Output<String>? = null, val name: Output<String>? = null, val networkType: Output<String>? = null, val period: Output<Int>? = null, val sslConnections: Output<Int>? = null, val tags: Output<Map<String, Any>>? = null, val vpcId: Output<String>? = null, val vswitchId: Output<String>? = null) : ConvertibleToJava<GatewayArgs>

Import

VPN gateway can be imported using the id, e.g.

$ pulumi import alicloud:vpn/gateway:Gateway example vpn-abc123456

Constructors

Link copied to clipboard
fun GatewayArgs(autoPay: Output<Boolean>? = null, autoPropagate: Output<Boolean>? = null, bandwidth: Output<Int>? = null, description: Output<String>? = null, enableIpsec: Output<Boolean>? = null, enableSsl: Output<Boolean>? = null, instanceChargeType: Output<String>? = null, name: Output<String>? = null, networkType: Output<String>? = null, period: Output<Int>? = null, sslConnections: Output<Int>? = null, tags: Output<Map<String, Any>>? = null, vpcId: Output<String>? = null, vswitchId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GatewayArgs

Properties

Link copied to clipboard
val autoPay: Output<Boolean>? = null

Whether to pay automatically. Default value: true. Valid values:

Link copied to clipboard
val autoPropagate: Output<Boolean>? = null

Specifies whether to automatically advertise BGP routes to the virtual private cloud (VPC). Valid values:

Link copied to clipboard
val bandwidth: Output<Int>? = null
Link copied to clipboard
val description: Output<String>? = null

The description of the VPN instance.

Link copied to clipboard
val enableIpsec: Output<Boolean>? = null

Enable or Disable IPSec VPN. At least one type of VPN should be enabled.

Link copied to clipboard
val enableSsl: Output<Boolean>? = null

Enable or Disable SSL VPN. At least one type of VPN should be enabled.

Link copied to clipboard
val instanceChargeType: Output<String>? = null

The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid. Default to PostPaid.

Link copied to clipboard
val name: Output<String>? = null

The name of the VPN. Defaults to null.

Link copied to clipboard
val networkType: Output<String>? = null

The network type of the VPN gateway. Value:

Link copied to clipboard
val period: Output<Int>? = null

The filed is only required while the InstanceChargeType is PrePaid. Valid values: 1-9, 12, 24, 36. Default to 1.

Link copied to clipboard
val sslConnections: Output<Int>? = null

The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different. This field is ignored when enable_ssl is false.

Link copied to clipboard
val tags: Output<Map<String, Any>>? = null

The tags of VPN gateway.

Link copied to clipboard
val vpcId: Output<String>? = null

The VPN belongs the vpc_id, the field can't be changed.

Link copied to clipboard
val vswitchId: Output<String>? = null

The VPN belongs the vswitch_id, the field can't be changed.