GatewayVpnAttachmentIkeConfig

data class GatewayVpnAttachmentIkeConfig(val ikeAuthAlg: String? = null, val ikeEncAlg: String? = null, val ikeLifetime: Int? = null, val ikeMode: String? = null, val ikePfs: String? = null, val ikeVersion: String? = null, val localId: String? = null, val psk: String? = null, val remoteId: String? = null)

Constructors

Link copied to clipboard
constructor(ikeAuthAlg: String? = null, ikeEncAlg: String? = null, ikeLifetime: Int? = null, ikeMode: String? = null, ikePfs: String? = null, ikeVersion: String? = null, localId: String? = null, psk: String? = null, remoteId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val ikeAuthAlg: String? = null

The authentication algorithm negotiated in the first stage. Valid values: md5, sha1, sha256, sha384, sha512. Default value: md5.

Link copied to clipboard
val ikeEncAlg: String? = null

The encryption algorithm that is used in Phase 1 negotiations. Valid values: aes, aes192, aes256, des, and 3des. Default value: aes.

Link copied to clipboard
val ikeLifetime: Int? = null

The SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: 0 to 86400. Default value: 86400.

Link copied to clipboard
val ikeMode: String? = null

IKE mode, the negotiation mode. Valid values: main and aggressive. Default value: main.

Link copied to clipboard
val ikePfs: String? = null

The Diffie-Hellman key exchange algorithm used in the first stage negotiation. Valid values: group1, group2, group5, or group14. Default value: group2.

Link copied to clipboard
val ikeVersion: String? = null

The version of the IKE protocol. Value: ikev1 or ikev2. Default value: ikev1.

Link copied to clipboard
val localId: String? = null

The identifier on the Alibaba Cloud side of the IPsec connection. The length is limited to 100 characters. The default value is leftId-not-exist

Link copied to clipboard
val psk: String? = null

A pre-shared key for authentication between the VPN gateway and the local data center. The key length is 1~100 characters.

Link copied to clipboard
val remoteId: String? = null

The identifier of the IPsec connection to the local data center. The length is limited to 100 characters. The default value is the IP address of the user gateway.