public static class CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig
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 negotiation mode of IKE.
|
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.
|
构造器和说明 |
---|
CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig() |
@NameInMap(value="IkeAuthAlg") public String ikeAuthAlg
The authentication algorithm that is used in Phase 1 negotiations.
Valid values: md5, sha1, sha256, sha384, and sha512. Default value: md5.
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. Default value: aes.
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. Default value: 86400.
example:86400
@NameInMap(value="IkeMode") public String ikeMode
The negotiation mode of IKE. Valid values: main and aggressive. Default value: main.
main
@NameInMap(value="IkePfs") public String ikePfs
The DH key exchange algorithm that is used in Phase 1 negotiations. Default value: group2.\ 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. Default value: ikev1.
Compared with IKEv1, IKEv2 simplifies the 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 value can be up to 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 value can be up to 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 CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig()
public static CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig build(Map<String,?> map) throws Exception
Exception
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig setIkeAuthAlg(String ikeAuthAlg)
public String getIkeAuthAlg()
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig setIkeEncAlg(String ikeEncAlg)
public String getIkeEncAlg()
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig setIkeLifetime(Long ikeLifetime)
public Long getIkeLifetime()
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig setIkeMode(String ikeMode)
public String getIkeMode()
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig setIkePfs(String ikePfs)
public String getIkePfs()
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig setIkeVersion(String ikeVersion)
public String getIkeVersion()
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig setLocalId(String localId)
public String getLocalId()
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig setPsk(String psk)
public String getPsk()
public CreateVpnConnectionRequest.CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig setRemoteId(String remoteId)
public String getRemoteId()
Copyright © 2024. All rights reserved.