PhaseOneConfigDetails¶
- class oci.core.models.PhaseOneConfigDetails(**kwargs)¶
Bases:
objectConfiguration details for IKE phase one (ISAKMP) configuration parameters.
Attributes:
A constant which can be used with the authentication_algorithm property of a PhaseOneConfigDetails.
A constant which can be used with the authentication_algorithm property of a PhaseOneConfigDetails.
A constant which can be used with the authentication_algorithm property of a PhaseOneConfigDetails.
A constant which can be used with the diffie_helman_group property of a PhaseOneConfigDetails.
A constant which can be used with the diffie_helman_group property of a PhaseOneConfigDetails.
A constant which can be used with the diffie_helman_group property of a PhaseOneConfigDetails.
A constant which can be used with the diffie_helman_group property of a PhaseOneConfigDetails.
A constant which can be used with the diffie_helman_group property of a PhaseOneConfigDetails.
A constant which can be used with the diffie_helman_group property of a PhaseOneConfigDetails.
A constant which can be used with the encryption_algorithm property of a PhaseOneConfigDetails.
A constant which can be used with the encryption_algorithm property of a PhaseOneConfigDetails.
A constant which can be used with the encryption_algorithm property of a PhaseOneConfigDetails.
Gets the authentication_algorithm of this PhaseOneConfigDetails.
Gets the diffie_helman_group of this PhaseOneConfigDetails.
Gets the encryption_algorithm of this PhaseOneConfigDetails.
Gets the is_custom_phase_one_config of this PhaseOneConfigDetails.
Gets the lifetime_in_seconds of this PhaseOneConfigDetails.
Methods:
__init__(**kwargs)Initializes a new PhaseOneConfigDetails object with values from keyword arguments.
- AUTHENTICATION_ALGORITHM_SHA1_96 = 'SHA1_96'¶
A constant which can be used with the authentication_algorithm property of a PhaseOneConfigDetails. This constant has a value of “SHA1_96”
- AUTHENTICATION_ALGORITHM_SHA2_256 = 'SHA2_256'¶
A constant which can be used with the authentication_algorithm property of a PhaseOneConfigDetails. This constant has a value of “SHA2_256”
- AUTHENTICATION_ALGORITHM_SHA2_384 = 'SHA2_384'¶
A constant which can be used with the authentication_algorithm property of a PhaseOneConfigDetails. This constant has a value of “SHA2_384”
- DIFFIE_HELMAN_GROUP_GROUP14 = 'GROUP14'¶
A constant which can be used with the diffie_helman_group property of a PhaseOneConfigDetails. This constant has a value of “GROUP14”
- DIFFIE_HELMAN_GROUP_GROUP19 = 'GROUP19'¶
A constant which can be used with the diffie_helman_group property of a PhaseOneConfigDetails. This constant has a value of “GROUP19”
- DIFFIE_HELMAN_GROUP_GROUP2 = 'GROUP2'¶
A constant which can be used with the diffie_helman_group property of a PhaseOneConfigDetails. This constant has a value of “GROUP2”
- DIFFIE_HELMAN_GROUP_GROUP20 = 'GROUP20'¶
A constant which can be used with the diffie_helman_group property of a PhaseOneConfigDetails. This constant has a value of “GROUP20”
- DIFFIE_HELMAN_GROUP_GROUP24 = 'GROUP24'¶
A constant which can be used with the diffie_helman_group property of a PhaseOneConfigDetails. This constant has a value of “GROUP24”
- DIFFIE_HELMAN_GROUP_GROUP5 = 'GROUP5'¶
A constant which can be used with the diffie_helman_group property of a PhaseOneConfigDetails. This constant has a value of “GROUP5”
- ENCRYPTION_ALGORITHM_AES_128_CBC = 'AES_128_CBC'¶
A constant which can be used with the encryption_algorithm property of a PhaseOneConfigDetails. This constant has a value of “AES_128_CBC”
- ENCRYPTION_ALGORITHM_AES_192_CBC = 'AES_192_CBC'¶
A constant which can be used with the encryption_algorithm property of a PhaseOneConfigDetails. This constant has a value of “AES_192_CBC”
- ENCRYPTION_ALGORITHM_AES_256_CBC = 'AES_256_CBC'¶
A constant which can be used with the encryption_algorithm property of a PhaseOneConfigDetails. This constant has a value of “AES_256_CBC”
- __init__(**kwargs)¶
Initializes a new PhaseOneConfigDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
is_custom_phase_one_config (bool) – The value to assign to the is_custom_phase_one_config property of this PhaseOneConfigDetails.
authentication_algorithm (str) – The value to assign to the authentication_algorithm property of this PhaseOneConfigDetails. Allowed values for this property are: “SHA2_384”, “SHA2_256”, “SHA1_96”
encryption_algorithm (str) – The value to assign to the encryption_algorithm property of this PhaseOneConfigDetails. Allowed values for this property are: “AES_256_CBC”, “AES_192_CBC”, “AES_128_CBC”
diffie_helman_group (str) – The value to assign to the diffie_helman_group property of this PhaseOneConfigDetails. Allowed values for this property are: “GROUP2”, “GROUP5”, “GROUP14”, “GROUP19”, “GROUP20”, “GROUP24”
lifetime_in_seconds (int) – The value to assign to the lifetime_in_seconds property of this PhaseOneConfigDetails.
- property authentication_algorithm¶
Gets the authentication_algorithm of this PhaseOneConfigDetails. The custom authentication algorithm proposed during phase one tunnel negotiation.
Allowed values for this property are: “SHA2_384”, “SHA2_256”, “SHA1_96”
- Returns
The authentication_algorithm of this PhaseOneConfigDetails.
- Return type
str
- property diffie_helman_group¶
Gets the diffie_helman_group of this PhaseOneConfigDetails. The custom Diffie-Hellman group proposed during phase one tunnel negotiation.
Allowed values for this property are: “GROUP2”, “GROUP5”, “GROUP14”, “GROUP19”, “GROUP20”, “GROUP24”
- Returns
The diffie_helman_group of this PhaseOneConfigDetails.
- Return type
str
- property encryption_algorithm¶
Gets the encryption_algorithm of this PhaseOneConfigDetails. The custom encryption algorithm proposed during phase one tunnel negotiation.
Allowed values for this property are: “AES_256_CBC”, “AES_192_CBC”, “AES_128_CBC”
- Returns
The encryption_algorithm of this PhaseOneConfigDetails.
- Return type
str
- property is_custom_phase_one_config¶
Gets the is_custom_phase_one_config of this PhaseOneConfigDetails. Indicates whether custom configuration is enabled for phase one options.
- Returns
The is_custom_phase_one_config of this PhaseOneConfigDetails.
- Return type
bool
- property lifetime_in_seconds¶
Gets the lifetime_in_seconds of this PhaseOneConfigDetails. Internet key association (IKE) session key lifetime in seconds for IPSec phase one. The default is 28800 which is equivalent to 8 hours.
- Returns
The lifetime_in_seconds of this PhaseOneConfigDetails.
- Return type
int