FlexTunnel

class oci.vn_monitoring.models.FlexTunnel(**kwargs)

Bases: object

Flex tunnel will set up a network tunnel between your SD-WAN appliance and DRG, allowing you to establish BGP and advertise routes.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a FlexTunnel.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a FlexTunnel.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a FlexTunnel.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a FlexTunnel.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a FlexTunnel.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a FlexTunnel.
compartment_id [Required] Gets the compartment_id of this FlexTunnel.
defined_tags Gets the defined_tags of this FlexTunnel.
display_name Gets the display_name of this FlexTunnel.
drg_id [Required] Gets the drg_id of this FlexTunnel.
flex_tunnel_configuration [Required] Gets the flex_tunnel_configuration of this FlexTunnel.
freeform_tags Gets the freeform_tags of this FlexTunnel.
id [Required] Gets the id of this FlexTunnel.
lifecycle_state [Required] Gets the lifecycle_state of this FlexTunnel.
time_created [Required] Gets the time_created of this FlexTunnel.
transport_attachment_id [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.
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
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))
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
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
flex_tunnel_configuration

[Required] Gets the flex_tunnel_configuration of this FlexTunnel.

Returns:The flex_tunnel_configuration of this FlexTunnel.
Return type:oci.vn_monitoring.models.FlexTunnelConfiguration
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)
id

[Required] Gets the id of this FlexTunnel. The OCID of the flex tunnel.

Returns:The id of this FlexTunnel.
Return type:str
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
time_created

[Required] Gets the time_created of this FlexTunnel. The date and time the flex tunnel was created, in the format defined by RFC3339.

Example: 2016-08-25T21:10:29.600Z

Returns:The time_created of this FlexTunnel.
Return type:datetime
transport_attachment_id

[Required] Gets the transport_attachment_id of this FlexTunnel. The OCID of the transport attachment.

Returns:The transport_attachment_id of this FlexTunnel.
Return type:str