TunnelPhaseTwoDetails¶
- class oci.core.models.TunnelPhaseTwoDetails(**kwargs)¶
Bases:
objectIPsec tunnel detail information specific to phase two.
Methods:
__init__(**kwargs)Initializes a new TunnelPhaseTwoDetails object with values from keyword arguments.
Attributes:
Gets the custom_authentication_algorithm of this TunnelPhaseTwoDetails.
Gets the custom_encryption_algorithm of this TunnelPhaseTwoDetails.
Gets the dh_group of this TunnelPhaseTwoDetails.
Gets the is_custom_phase_two_config of this TunnelPhaseTwoDetails.
Gets the is_esp_established of this TunnelPhaseTwoDetails.
Gets the is_pfs_enabled of this TunnelPhaseTwoDetails.
Gets the lifetime of this TunnelPhaseTwoDetails.
Gets the negotiated_authentication_algorithm of this TunnelPhaseTwoDetails.
Gets the negotiated_dh_group of this TunnelPhaseTwoDetails.
Gets the negotiated_encryption_algorithm of this TunnelPhaseTwoDetails.
Gets the remaining_lifetime of this TunnelPhaseTwoDetails.
Gets the remaining_lifetime_last_retrieved of this TunnelPhaseTwoDetails.
- __init__(**kwargs)¶
Initializes a new TunnelPhaseTwoDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
is_custom_phase_two_config (bool) – The value to assign to the is_custom_phase_two_config property of this TunnelPhaseTwoDetails.
lifetime (int) – The value to assign to the lifetime property of this TunnelPhaseTwoDetails.
remaining_lifetime (int) – The value to assign to the remaining_lifetime property of this TunnelPhaseTwoDetails.
custom_authentication_algorithm (str) – The value to assign to the custom_authentication_algorithm property of this TunnelPhaseTwoDetails.
negotiated_authentication_algorithm (str) – The value to assign to the negotiated_authentication_algorithm property of this TunnelPhaseTwoDetails.
custom_encryption_algorithm (str) – The value to assign to the custom_encryption_algorithm property of this TunnelPhaseTwoDetails.
negotiated_encryption_algorithm (str) – The value to assign to the negotiated_encryption_algorithm property of this TunnelPhaseTwoDetails.
dh_group (str) – The value to assign to the dh_group property of this TunnelPhaseTwoDetails.
negotiated_dh_group (str) – The value to assign to the negotiated_dh_group property of this TunnelPhaseTwoDetails.
is_esp_established (bool) – The value to assign to the is_esp_established property of this TunnelPhaseTwoDetails.
is_pfs_enabled (bool) – The value to assign to the is_pfs_enabled property of this TunnelPhaseTwoDetails.
remaining_lifetime_last_retrieved (datetime) – The value to assign to the remaining_lifetime_last_retrieved property of this TunnelPhaseTwoDetails.
- property custom_authentication_algorithm¶
Gets the custom_authentication_algorithm of this TunnelPhaseTwoDetails. Phase two authentication algorithm proposed during tunnel negotiation.
- Returns
The custom_authentication_algorithm of this TunnelPhaseTwoDetails.
- Return type
str
- property custom_encryption_algorithm¶
Gets the custom_encryption_algorithm of this TunnelPhaseTwoDetails. The proposed custom phase two encryption algorithm.
- Returns
The custom_encryption_algorithm of this TunnelPhaseTwoDetails.
- Return type
str
- property dh_group¶
Gets the dh_group of this TunnelPhaseTwoDetails. The proposed Diffie-Hellman group.
- Returns
The dh_group of this TunnelPhaseTwoDetails.
- Return type
str
- property is_custom_phase_two_config¶
Gets the is_custom_phase_two_config of this TunnelPhaseTwoDetails. Indicates whether custom phase two configuration is enabled. If this option is not enabled, default settings are proposed.
- Returns
The is_custom_phase_two_config of this TunnelPhaseTwoDetails.
- Return type
bool
- property is_esp_established¶
Gets the is_esp_established of this TunnelPhaseTwoDetails. Indicates that ESP phase two is established.
- Returns
The is_esp_established of this TunnelPhaseTwoDetails.
- Return type
bool
- property is_pfs_enabled¶
Gets the is_pfs_enabled of this TunnelPhaseTwoDetails. Indicates that PFS (perfect forward secrecy) is enabled.
- Returns
The is_pfs_enabled of this TunnelPhaseTwoDetails.
- Return type
bool
- property lifetime¶
Gets the lifetime of this TunnelPhaseTwoDetails. The total configured lifetime of the IKE security association.
- Returns
The lifetime of this TunnelPhaseTwoDetails.
- Return type
int
- property negotiated_authentication_algorithm¶
Gets the negotiated_authentication_algorithm of this TunnelPhaseTwoDetails. The negotiated phase two authentication algorithm.
- Returns
The negotiated_authentication_algorithm of this TunnelPhaseTwoDetails.
- Return type
str
- property negotiated_dh_group¶
Gets the negotiated_dh_group of this TunnelPhaseTwoDetails. The negotiated Diffie-Hellman group.
- Returns
The negotiated_dh_group of this TunnelPhaseTwoDetails.
- Return type
str
- property negotiated_encryption_algorithm¶
Gets the negotiated_encryption_algorithm of this TunnelPhaseTwoDetails. The negotiated encryption algorithm.
- Returns
The negotiated_encryption_algorithm of this TunnelPhaseTwoDetails.
- Return type
str
- property remaining_lifetime¶
Gets the remaining_lifetime of this TunnelPhaseTwoDetails. The remaining lifetime before the key is refreshed.
- Returns
The remaining_lifetime of this TunnelPhaseTwoDetails.
- Return type
int
- property remaining_lifetime_last_retrieved¶
Gets the remaining_lifetime_last_retrieved of this TunnelPhaseTwoDetails. The date and time the remaining lifetime was last retrieved, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
- Returns
The remaining_lifetime_last_retrieved of this TunnelPhaseTwoDetails.
- Return type
datetime