public static class ModifyVpnConnectionAttributeRequest.ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
ikeAuthAlg
The authentication algorithm that is used in Phase 1 negotiations.
|
String |
ikeEncAlg
The encryption algorithm that is used in Phase 1 negotiations.
|
Long |
ikeLifetime
The SA lifetime that is determined by Phase 1 negotiations.
|
String |
ikeMode
The IKE negotiation mode.
|
String |
ikePfs
The DH key exchange algorithm that is used in Phase 1 negotiations.
|
String |
ikeVersion
The version of the IKE protocol.
|
String |
localId
The identifier on the Alibaba Cloud side, which is used in Phase 1 negotiations.
|
String |
psk
The pre-shared key, which is used for identity authentication between the tunnel and the tunnel peer.
|
String |
remoteId
The identifier of the tunnel peer, which is used in Phase 1 negotiations.
|
构造器和说明 |
---|
ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig() |
@NameInMap(value="IkeAuthAlg") public String ikeAuthAlg
The authentication algorithm that is used in Phase 1 negotiations.
Valid values: md5, sha1, sha256, sha384, and sha512.
example:md5
@NameInMap(value="IkeEncAlg") public String ikeEncAlg
The encryption algorithm that is used in Phase 1 negotiations.
Valid values: aes, aes192, aes256, des, and 3des.
example:aes
@NameInMap(value="IkeLifetime") public Long ikeLifetime
The SA lifetime that is determined by Phase 1 negotiations. Unit: seconds. Valid values: 0 to 86400.
example:86400
@NameInMap(value="IkeMode") public String ikeMode
The IKE negotiation mode. Valid values:
main
@NameInMap(value="IkePfs") public String ikePfs
The DH key exchange algorithm that is used in Phase 1 negotiations. Valid values: group1, group2, group5, and group14.
example:group2
@NameInMap(value="IkeVersion") public String ikeVersion
The version of the IKE protocol. Valid values: ikev1 and ikev2.
Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and is more suitable for scenarios in which multiple CIDR blocks are used.
example:ikev1
@NameInMap(value="LocalId") public String localId
The identifier on the Alibaba Cloud side, which is used in Phase 1 negotiations. The identifier cannot exceed 100 characters in length. The default identifier is the IP address of the tunnel.
You can set LocalId to a fully qualified domain name (FQDN). In this case, we recommend that you set IkeMode to aggressive.
example:47.21.XX.XX
@NameInMap(value="Psk") public String psk
The pre-shared key, which is used for identity authentication between the tunnel and the tunnel peer.
~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?
example:The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be established.
123456****
@NameInMap(value="RemoteId") public String remoteId
The identifier of the tunnel peer, which is used in Phase 1 negotiations. The identifier cannot exceed 100 characters in length. The default identifier is the IP address of the customer gateway associated with the tunnel.
You can set RemoteId to an FQDN. In this case, we recommend that you set IkeMode to aggressive.
example:47.42.XX.XX
public ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig()
public static ModifyVpnConnectionAttributeRequest.ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig build(Map<String,?> map) throws Exception
Exception
public ModifyVpnConnectionAttributeRequest.ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig setIkeAuthAlg(String ikeAuthAlg)
public String getIkeAuthAlg()
public ModifyVpnConnectionAttributeRequest.ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig setIkeEncAlg(String ikeEncAlg)
public String getIkeEncAlg()
public ModifyVpnConnectionAttributeRequest.ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig setIkeLifetime(Long ikeLifetime)
public Long getIkeLifetime()
public ModifyVpnConnectionAttributeRequest.ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig setIkeMode(String ikeMode)
public String getIkeMode()
public ModifyVpnConnectionAttributeRequest.ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig setIkePfs(String ikePfs)
public String getIkePfs()
public ModifyVpnConnectionAttributeRequest.ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig setIkeVersion(String ikeVersion)
public String getIkeVersion()
public ModifyVpnConnectionAttributeRequest.ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig setLocalId(String localId)
public String getLocalId()
public ModifyVpnConnectionAttributeRequest.ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig setPsk(String psk)
public String getPsk()
public ModifyVpnConnectionAttributeRequest.ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig setRemoteId(String remoteId)
public String getRemoteId()
Copyright © 2024. All rights reserved.