ConnectionArgs

data class ConnectionArgs(val autoConfigRoute: Output<Boolean>? = null, val bgpConfig: Output<ConnectionBgpConfigArgs>? = null, val customerGatewayId: Output<String>? = null, val effectImmediately: Output<Boolean>? = null, val enableDpd: Output<Boolean>? = null, val enableNatTraversal: Output<Boolean>? = null, val enableTunnelsBgp: Output<Boolean>? = null, val healthCheckConfig: Output<ConnectionHealthCheckConfigArgs>? = null, val ikeConfig: Output<ConnectionIkeConfigArgs>? = null, val ipsecConfig: Output<ConnectionIpsecConfigArgs>? = null, val localSubnets: Output<List<String>>? = null, val name: Output<String>? = null, val networkType: Output<String>? = null, val remoteSubnets: Output<List<String>>? = null, val tags: Output<Map<String, Any>>? = null, val tunnelOptionsSpecifications: Output<List<ConnectionTunnelOptionsSpecificationArgs>>? = null, val vpnConnectionName: Output<String>? = null, val vpnGatewayId: Output<String>? = null) : ConvertibleToJava<ConnectionArgs>

Example Usage

Basic Usage

Import

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

$ pulumi import alicloud:vpn/connection:Connection example <id>

Constructors

Link copied to clipboard
constructor(autoConfigRoute: Output<Boolean>? = null, bgpConfig: Output<ConnectionBgpConfigArgs>? = null, customerGatewayId: Output<String>? = null, effectImmediately: Output<Boolean>? = null, enableDpd: Output<Boolean>? = null, enableNatTraversal: Output<Boolean>? = null, enableTunnelsBgp: Output<Boolean>? = null, healthCheckConfig: Output<ConnectionHealthCheckConfigArgs>? = null, ikeConfig: Output<ConnectionIkeConfigArgs>? = null, ipsecConfig: Output<ConnectionIpsecConfigArgs>? = null, localSubnets: Output<List<String>>? = null, name: Output<String>? = null, networkType: Output<String>? = null, remoteSubnets: Output<List<String>>? = null, tags: Output<Map<String, Any>>? = null, tunnelOptionsSpecifications: Output<List<ConnectionTunnelOptionsSpecificationArgs>>? = null, vpnConnectionName: Output<String>? = null, vpnGatewayId: Output<String>? = null)

Properties

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

Whether to configure routing automatically. Value:

Link copied to clipboard
val bgpConfig: Output<ConnectionBgpConfigArgs>? = null

vpnBgp configuration. See bgp_config below.

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

The ID of the customer gateway.

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

Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.

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

Wether enable Dpd detection.

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

enable nat traversal.

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

Enable tunnel bgp.

Link copied to clipboard

Health Check information. See health_check_config below.

Link copied to clipboard
val ikeConfig: Output<ConnectionIkeConfigArgs>? = null

The configuration of Phase 1 negotiations. See ike_config below.

Link copied to clipboard

IPsec configuration. See ipsec_config below.

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

The CIDR block of the VPC to be connected with the local data center. This parameter is used for phase-two negotiation.

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

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

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

The network type of the IPsec connection. Value:

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

The CIDR block of the local data center. This parameter is used for phase-two negotiation.

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

Tags.

Link copied to clipboard

The tunnel options of IPsec. See tunnel_options_specification below.

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

The name of the IPsec-VPN connection.

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

The ID of the VPN gateway. The following arguments will be discarded. Please use new fields as soon as possible:

Functions

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