public static class CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecification
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
customerGatewayId
The ID of the customer gateway associated with the tunnel.
|
Boolean |
enableDpd
Specifies whether to enable DPD for the tunnel.
|
Boolean |
enableNatTraversal
Specifies whether to enable NAT traversal for the tunnel.
|
String |
remoteCaCertificate
The CA certificate.
|
String |
role
The role of the tunnel.
|
CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig |
tunnelBgpConfig
The BGP configurations for the tunnel.
|
CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig |
tunnelIkeConfig
The configurations of Phase 1 negotiations.
|
CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIpsecConfig |
tunnelIpsecConfig
The configurations of Phase 2 negotiations.
|
构造器和说明 |
---|
CreateVpnConnectionRequestTunnelOptionsSpecification() |
@NameInMap(value="CustomerGatewayId") public String customerGatewayId
The ID of the customer gateway associated with the tunnel.
example:
- This parameter is required if the VPN gateway supports the dual-tunnel mode.
- You can specify the parameters in the TunnelOptionsSpecification array if you create an IPsec-VPN connection in dual-tunnel mode.
- If you create an IPsec-VPN connection in dual-tunnel mode, you need to configure an active tunnel and a standby tunnel. Each IPsec-VPN connection supports only one active tunnel and one standby tunnel.
cgw-p0wy363lucf1uyae8****
@NameInMap(value="EnableDpd") public Boolean enableDpd
Specifies whether to enable DPD for the tunnel. Valid values:
true
@NameInMap(value="EnableNatTraversal") public Boolean enableNatTraversal
Specifies whether to enable NAT traversal for the tunnel. Valid values:
true
@NameInMap(value="RemoteCaCertificate") public String remoteCaCertificate
The CA certificate. If the VPN gateway is of the SM type, you must configure a CA certificate for the peer gateway device.
-----BEGIN CERTIFICATE----- MIIB7zCCAZW**** -----END CERTIFICATE-----
@NameInMap(value="Role") public String role
The role of the tunnel. Valid values:
master
@NameInMap(value="TunnelBgpConfig") public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig tunnelBgpConfig
The BGP configurations for the tunnel.
@NameInMap(value="TunnelIkeConfig") public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig tunnelIkeConfig
The configurations of Phase 1 negotiations.
@NameInMap(value="TunnelIpsecConfig") public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIpsecConfig tunnelIpsecConfig
The configurations of Phase 2 negotiations.
public CreateVpnConnectionRequestTunnelOptionsSpecification()
public static CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecification build(Map<String,?> map) throws Exception
Exception
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecification setCustomerGatewayId(String customerGatewayId)
public String getCustomerGatewayId()
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecification setEnableDpd(Boolean enableDpd)
public Boolean getEnableDpd()
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecification setEnableNatTraversal(Boolean enableNatTraversal)
public Boolean getEnableNatTraversal()
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecification setRemoteCaCertificate(String remoteCaCertificate)
public String getRemoteCaCertificate()
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecification setRole(String role)
public String getRole()
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecification setTunnelBgpConfig(CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig tunnelBgpConfig)
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig getTunnelBgpConfig()
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecification setTunnelIkeConfig(CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig tunnelIkeConfig)
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig getTunnelIkeConfig()
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecification setTunnelIpsecConfig(CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIpsecConfig tunnelIpsecConfig)
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIpsecConfig getTunnelIpsecConfig()
Copyright © 2024. All rights reserved.