TunnelStatus¶
- class oci.vn_monitoring.models.TunnelStatus(**kwargs)¶
Bases:
objectSpecific connection details for an IPSec tunnel.
Attributes:
A constant which can be used with the lifecycle_state property of a TunnelStatus.
A constant which can be used with the lifecycle_state property of a TunnelStatus.
A constant which can be used with the lifecycle_state property of a TunnelStatus.
[Required] Gets the ip_address of this TunnelStatus.
Gets the lifecycle_state of this TunnelStatus.
Gets the time_created of this TunnelStatus.
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_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”
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.
- property 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
- property 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”
- Returns
The lifecycle_state of this TunnelStatus.
- Return type
str