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 disasterRecoveryVswitchId: 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 paymentType: Output<String>? = null, val period: Output<Int>? = null, val resourceGroupId: Output<String>? = null, val sslConnections: Output<Int>? = null, val tags: Output<Map<String, String>>? = null, val vpcId: Output<String>? = null, val vpnGatewayName: Output<String>? = null, val vpnType: 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 <id>

Constructors

Link copied to clipboard
constructor(autoPay: Output<Boolean>? = null, autoPropagate: Output<Boolean>? = null, bandwidth: Output<Int>? = null, description: Output<String>? = null, disasterRecoveryVswitchId: Output<String>? = null, enableIpsec: Output<Boolean>? = null, enableSsl: Output<Boolean>? = null, instanceChargeType: Output<String>? = null, name: Output<String>? = null, networkType: Output<String>? = null, paymentType: Output<String>? = null, period: Output<Int>? = null, resourceGroupId: Output<String>? = null, sslConnections: Output<Int>? = null, tags: Output<Map<String, String>>? = null, vpcId: Output<String>? = null, vpnGatewayName: Output<String>? = null, vpnType: Output<String>? = null, vswitchId: Output<String>? = null)

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

Whether to automatically propagate the BGP route to the VPC. Value: true: Propagate automatically. false: does not propagate automatically.

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

The Bandwidth specification of the VPN gateway. Unit: Mbps. If you want to create a public VPN gateway, the value is 5, 10, 20, 50, 100, 200, 500, or 1000. If you want to create a private VPN gateway, the value is 200 or 1000.

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

The description of the VPN gateway.

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

The ID of the backup VSwitch to which the VPN gateway is attached.

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. The following arguments will be discarded. Please use new fields as soon as possible:

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

. Field 'instance_charge_type' has been deprecated from provider version 1.216.0. New field 'payment_type' instead.

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

. Field 'name' has been deprecated from provider version 1.216.0. New field 'vpn_gateway_name' instead.

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

The network type of the VPN gateway. Value: public (default): public VPN gateway. private: private network VPN gateway.

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

Type of payment. Value: Subscription: prepaid PayAsYouGo: Post-paid.

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 resourceGroupId: Output<String>? = null

The ID of the resource group.

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

Maximum number of clients.

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

The Tag of.

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

The ID of the VPC to which the VPN gateway belongs.

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

The name of the VPN gateway.

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

The VPN gateway type. Value: Normal (default): Normal type. NationalStandard: National Secret type.

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

The ID of the VSwitch to which the VPN gateway is attached.

Functions

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