FlexTunnel¶
- class oci.vn_monitoring.models.FlexTunnel(**kwargs)¶
Bases:
objectFlex tunnel will set up a network tunnel between your SD-WAN appliance and DRG, allowing you to establish BGP and advertise routes.
Attributes:
A constant which can be used with the lifecycle_state property of a FlexTunnel.
A constant which can be used with the lifecycle_state property of a FlexTunnel.
A constant which can be used with the lifecycle_state property of a FlexTunnel.
A constant which can be used with the lifecycle_state property of a FlexTunnel.
A constant which can be used with the lifecycle_state property of a FlexTunnel.
A constant which can be used with the lifecycle_state property of a FlexTunnel.
[Required] Gets the compartment_id of this FlexTunnel.
Gets the defined_tags of this FlexTunnel.
Gets the display_name of this FlexTunnel.
[Required] Gets the drg_id of this FlexTunnel.
[Required] Gets the flex_tunnel_configuration of this FlexTunnel.
Gets the freeform_tags of this FlexTunnel.
[Required] Gets the id of this FlexTunnel.
[Required] Gets the lifecycle_state of this FlexTunnel.
[Required] Gets the time_created of this FlexTunnel.
[Required] Gets the transport_attachment_id of this FlexTunnel.
Methods:
__init__(**kwargs)Initializes a new FlexTunnel object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a FlexTunnel. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a FlexTunnel. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a FlexTunnel. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a FlexTunnel. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a FlexTunnel. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a FlexTunnel. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new FlexTunnel object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this FlexTunnel.
compartment_id (str) – The value to assign to the compartment_id property of this FlexTunnel.
display_name (str) – The value to assign to the display_name property of this FlexTunnel.
time_created (datetime) – The value to assign to the time_created property of this FlexTunnel.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this FlexTunnel. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”
drg_id (str) – The value to assign to the drg_id property of this FlexTunnel.
transport_attachment_id (str) – The value to assign to the transport_attachment_id property of this FlexTunnel.
flex_tunnel_configuration (oci.vn_monitoring.models.FlexTunnelConfiguration) – The value to assign to the flex_tunnel_configuration property of this FlexTunnel.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this FlexTunnel.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this FlexTunnel.
- property compartment_id¶
[Required] Gets the compartment_id of this FlexTunnel. The OCID of the compartment to contain the flex tunnel.
- Returns
The compartment_id of this FlexTunnel.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this FlexTunnel. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this FlexTunnel.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this FlexTunnel. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this FlexTunnel.
- Return type
str
- property drg_id¶
[Required] Gets the drg_id of this FlexTunnel. The OCID of the drg for loopback attachment.
- Returns
The drg_id of this FlexTunnel.
- Return type
str
- property flex_tunnel_configuration¶
[Required] Gets the flex_tunnel_configuration of this FlexTunnel.
- Returns
The flex_tunnel_configuration of this FlexTunnel.
- Return type
- property freeform_tags¶
Gets the freeform_tags of this FlexTunnel. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this FlexTunnel.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this FlexTunnel. The OCID of the flex tunnel.
- Returns
The id of this FlexTunnel.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this FlexTunnel. The current state of the flex tunnel.
Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”
- Returns
The lifecycle_state of this FlexTunnel.
- Return type
str