TunnelPhaseOneDetails¶
- class oci.core.models.TunnelPhaseOneDetails(**kwargs)¶
Bases:
objectIPSec tunnel details specific to ISAKMP phase one.
Methods:
__init__(**kwargs)Initializes a new TunnelPhaseOneDetails object with values from keyword arguments.
Attributes:
Gets the custom_authentication_algorithm of this TunnelPhaseOneDetails.
Gets the custom_dh_group of this TunnelPhaseOneDetails.
Gets the custom_encryption_algorithm of this TunnelPhaseOneDetails.
Gets the is_custom_phase_one_config of this TunnelPhaseOneDetails.
Gets the is_ike_established of this TunnelPhaseOneDetails.
Gets the lifetime of this TunnelPhaseOneDetails.
Gets the negotiated_authentication_algorithm of this TunnelPhaseOneDetails.
Gets the negotiated_dh_group of this TunnelPhaseOneDetails.
Gets the negotiated_encryption_algorithm of this TunnelPhaseOneDetails.
Gets the remaining_lifetime of this TunnelPhaseOneDetails.
Gets the remaining_lifetime_last_retrieved of this TunnelPhaseOneDetails.
- __init__(**kwargs)¶
Initializes a new TunnelPhaseOneDetails 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 TunnelPhaseOneDetails.
lifetime (int) – The value to assign to the lifetime property of this TunnelPhaseOneDetails.
remaining_lifetime (int) – The value to assign to the remaining_lifetime property of this TunnelPhaseOneDetails.
custom_authentication_algorithm (str) – The value to assign to the custom_authentication_algorithm property of this TunnelPhaseOneDetails.
negotiated_authentication_algorithm (str) – The value to assign to the negotiated_authentication_algorithm property of this TunnelPhaseOneDetails.
custom_encryption_algorithm (str) – The value to assign to the custom_encryption_algorithm property of this TunnelPhaseOneDetails.
negotiated_encryption_algorithm (str) – The value to assign to the negotiated_encryption_algorithm property of this TunnelPhaseOneDetails.
custom_dh_group (str) – The value to assign to the custom_dh_group property of this TunnelPhaseOneDetails.
negotiated_dh_group (str) – The value to assign to the negotiated_dh_group property of this TunnelPhaseOneDetails.
is_ike_established (bool) – The value to assign to the is_ike_established property of this TunnelPhaseOneDetails.
remaining_lifetime_last_retrieved (datetime) – The value to assign to the remaining_lifetime_last_retrieved property of this TunnelPhaseOneDetails.
- property custom_authentication_algorithm¶
Gets the custom_authentication_algorithm of this TunnelPhaseOneDetails. The proposed custom authentication algorithm.
- Returns
The custom_authentication_algorithm of this TunnelPhaseOneDetails.
- Return type
str
- property custom_dh_group¶
Gets the custom_dh_group of this TunnelPhaseOneDetails. The proposed custom Diffie-Hellman group.
- Returns
The custom_dh_group of this TunnelPhaseOneDetails.
- Return type
str
- property custom_encryption_algorithm¶
Gets the custom_encryption_algorithm of this TunnelPhaseOneDetails. The proposed custom encryption algorithm.
- Returns
The custom_encryption_algorithm of this TunnelPhaseOneDetails.
- Return type
str
- property is_custom_phase_one_config¶
Gets the is_custom_phase_one_config of this TunnelPhaseOneDetails. Indicates whether custom phase one configuration is enabled. If this option is not enabled, default settings are proposed.
- Returns
The is_custom_phase_one_config of this TunnelPhaseOneDetails.
- Return type
bool
- property is_ike_established¶
Gets the is_ike_established of this TunnelPhaseOneDetails. Indicates whether IKE phase one is established.
- Returns
The is_ike_established of this TunnelPhaseOneDetails.
- Return type
bool
- property lifetime¶
Gets the lifetime of this TunnelPhaseOneDetails. The total configured lifetime of the IKE security association.
- Returns
The lifetime of this TunnelPhaseOneDetails.
- Return type
int
- property negotiated_authentication_algorithm¶
Gets the negotiated_authentication_algorithm of this TunnelPhaseOneDetails. The negotiated authentication algorithm.
- Returns
The negotiated_authentication_algorithm of this TunnelPhaseOneDetails.
- Return type
str
- property negotiated_dh_group¶
Gets the negotiated_dh_group of this TunnelPhaseOneDetails. The negotiated Diffie-Hellman group.
- Returns
The negotiated_dh_group of this TunnelPhaseOneDetails.
- Return type
str
- property negotiated_encryption_algorithm¶
Gets the negotiated_encryption_algorithm of this TunnelPhaseOneDetails. The negotiated encryption algorithm.
- Returns
The negotiated_encryption_algorithm of this TunnelPhaseOneDetails.
- Return type
str
- property remaining_lifetime¶
Gets the remaining_lifetime of this TunnelPhaseOneDetails. The remaining lifetime before the key is refreshed.
- Returns
The remaining_lifetime of this TunnelPhaseOneDetails.
- Return type
int
- property remaining_lifetime_last_retrieved¶
Gets the remaining_lifetime_last_retrieved of this TunnelPhaseOneDetails. The date and time we retrieved the remaining lifetime, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
- Returns
The remaining_lifetime_last_retrieved of this TunnelPhaseOneDetails.
- Return type
datetime