GetGatewayVpnAttachmentsAttachmentTunnelOptionsSpecification

data class GetGatewayVpnAttachmentsAttachmentTunnelOptionsSpecification(val customerGatewayId: String, val enableDpd: Boolean, val enableNatTraversal: Boolean, val internetIp: String, val role: String, val state: String, val status: String, val tunnelBgpConfig: GetGatewayVpnAttachmentsAttachmentTunnelOptionsSpecificationTunnelBgpConfig, val tunnelId: String, val tunnelIkeConfig: GetGatewayVpnAttachmentsAttachmentTunnelOptionsSpecificationTunnelIkeConfig, val tunnelIndex: Int, val tunnelIpsecConfig: GetGatewayVpnAttachmentsAttachmentTunnelOptionsSpecificationTunnelIpsecConfig, val zoneNo: String)

Constructors

constructor(customerGatewayId: String, enableDpd: Boolean, enableNatTraversal: Boolean, internetIp: String, role: String, state: String, status: String, tunnelBgpConfig: GetGatewayVpnAttachmentsAttachmentTunnelOptionsSpecificationTunnelBgpConfig, tunnelId: String, tunnelIkeConfig: GetGatewayVpnAttachmentsAttachmentTunnelOptionsSpecificationTunnelIkeConfig, tunnelIndex: Int, tunnelIpsecConfig: GetGatewayVpnAttachmentsAttachmentTunnelOptionsSpecificationTunnelIpsecConfig, zoneNo: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The ID of the user gateway associated with the tunnel.> This parameter is required when creating a dual-tunnel mode IPsec-VPN connection.

Link copied to clipboard

Whether the DPD (peer alive detection) function is enabled for the tunnel. Value:-true (default): enable the DPD function. IPsec initiator will send DPD message to check whether the peer device is alive. If the peer device does not receive a correct response within the set time, it is considered that the peer has been disconnected. IPsec will delete ISAKMP SA and the corresponding IPsec SA, and the security tunnel will also be deleted.-false: If the DPD function is disabled, the IPsec initiator does not send DPD detection packets.

Link copied to clipboard

Whether the NAT crossing function is enabled for the tunnel. Value:-true (default): Enables the NAT Traversal function. When enabled, the IKE negotiation process deletes the verification process of the UDP port number and realizes the discovery function of the NAT gateway device in the tunnel.-false: does not enable the NAT Traversal function.

Link copied to clipboard

The local internet IP in Tunnel.

Link copied to clipboard

The role of Tunnel.

Link copied to clipboard

The state of Tunnel.

Link copied to clipboard

The status of the resource. Valid values: init, active, attaching, attached, detaching, financialLocked, provisioning, updating, upgrading, deleted.

Link copied to clipboard

Add the BGP configuration for the tunnel.> After you enable the BGP function for IPsec connections (that is, specify EnableTunnelsBgp as true), you must configure this parameter.

Link copied to clipboard

The tunnel ID of IPsec-VPN connection.

Link copied to clipboard

Configuration information for the first phase negotiation.

Link copied to clipboard

The order in which the tunnel was created.-1: First tunnel.-2: The second tunnel.

Link copied to clipboard

Configuration information for the second-stage negotiation.

Link copied to clipboard

The zoneNo of tunnel.