TunnelStatus¶
-
class
oci.core.models.
TunnelStatus
(**kwargs)¶ Bases:
object
Deprecated. For tunnel information, instead see
IPSecConnectionTunnel
.Attributes
LIFECYCLE_STATE_DOWN
A constant which can be used with the lifecycle_state property of a TunnelStatus. LIFECYCLE_STATE_DOWN_FOR_MAINTENANCE
A constant which can be used with the lifecycle_state property of a TunnelStatus. LIFECYCLE_STATE_PARTIAL_UP
A constant which can be used with the lifecycle_state property of a TunnelStatus. LIFECYCLE_STATE_UP
A constant which can be used with the lifecycle_state property of a TunnelStatus. ip_address
[Required] Gets the ip_address of this TunnelStatus. lifecycle_state
Gets the lifecycle_state of this TunnelStatus. time_created
Gets the time_created of this TunnelStatus. time_state_modified
Gets the time_state_modified of this TunnelStatus. Methods
__init__
(**kwargs)Initializes a new TunnelStatus object with values from keyword arguments. -
LIFECYCLE_STATE_DOWN
= 'DOWN'¶ A constant which can be used with the lifecycle_state property of a TunnelStatus. This constant has a value of “DOWN”
-
LIFECYCLE_STATE_DOWN_FOR_MAINTENANCE
= 'DOWN_FOR_MAINTENANCE'¶ A constant which can be used with the lifecycle_state property of a TunnelStatus. This constant has a value of “DOWN_FOR_MAINTENANCE”
-
LIFECYCLE_STATE_PARTIAL_UP
= 'PARTIAL_UP'¶ A constant which can be used with the lifecycle_state property of a TunnelStatus. This constant has a value of “PARTIAL_UP”
-
LIFECYCLE_STATE_UP
= 'UP'¶ A constant which can be used with the lifecycle_state property of a TunnelStatus. This constant has a value of “UP”
-
__init__
(**kwargs)¶ Initializes a new TunnelStatus object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - ip_address (str) – The value to assign to the ip_address property of this TunnelStatus.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this TunnelStatus. Allowed values for this property are: “UP”, “DOWN”, “DOWN_FOR_MAINTENANCE”, “PARTIAL_UP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this TunnelStatus.
- time_state_modified (datetime) – The value to assign to the time_state_modified property of this TunnelStatus.
-
ip_address
¶ [Required] Gets the ip_address of this TunnelStatus. The IP address of Oracle’s VPN headend.
Example: 203.0.113.50
Returns: The ip_address of this TunnelStatus. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this TunnelStatus. The tunnel’s current state.
Allowed values for this property are: “UP”, “DOWN”, “DOWN_FOR_MAINTENANCE”, “PARTIAL_UP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this TunnelStatus. Return type: str
-