Gateway

class Gateway : KotlinCustomResource

Import

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

$ pulumi import alicloud:vpn/gateway:Gateway example <id>

Properties

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

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

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

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>

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 businessStatus: Output<String>

The business status of the VPN gateway.

Link copied to clipboard
val createTime: Output<Int>

The time when the VPN gateway was created.

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

The description of the VPN gateway.

Link copied to clipboard

The backup public IP address of the VPN gateway. The second IP address assigned by the system to create an IPsec-VPN connection. This parameter is returned only when the VPN gateway supports the dual-tunnel mode.

Link copied to clipboard

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

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

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

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

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 id: Output<String>
Link copied to clipboard

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

Link copied to clipboard
val internetIp: Output<String>

The internet ip of the VPN.

Link copied to clipboard
val name: Output<String>

. 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>

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>

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

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

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 pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceGroupId: Output<String>

The ID of the resource group.

Link copied to clipboard
val sslConnections: Output<Int>

Maximum number of clients.

Link copied to clipboard

The IP address of the SSL-VPN connection. This parameter is returned only when the VPN gateway is a public VPN gateway and supports only the single-tunnel mode. In addition, the VPN gateway must have the SSL-VPN feature enabled.

Link copied to clipboard
val status: Output<String>

The status of the resource.

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

The Tag of.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcId: Output<String>

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

Link copied to clipboard
val vpnGatewayName: Output<String>

The name of the VPN gateway.

Link copied to clipboard
val vpnType: Output<String>

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

Link copied to clipboard
val vswitchId: Output<String>

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