CrossConnect¶
- class oci.vn_monitoring.models.CrossConnect(**kwargs)¶
Bases:
objectFor use with Oracle Cloud Infrastructure FastConnect. A cross-connect represents a physical connection between an existing network and Oracle. Customers who are colocated with Oracle in a FastConnect location create and use cross-connects. For more information, see FastConnect Overview.
Oracle recommends you create each cross-connect in a
CrossConnectGroupso you can use link aggregation with the connection.Note: If you’re a provider who is setting up a physical connection to Oracle so customers can use FastConnect over the connection, be aware that your connection is modeled the same way as a colocated customer’s (with CrossConnect and CrossConnectGroup objects, and so on).
To use any of the API operations, you must be authorized in an IAM policy. If you’re not authorized, talk to an administrator. If you’re an administrator who needs to write policies to give users access, see Getting Started with Policies.
Attributes:
A constant which can be used with the lifecycle_state property of a CrossConnect.
A constant which can be used with the lifecycle_state property of a CrossConnect.
A constant which can be used with the lifecycle_state property of a CrossConnect.
A constant which can be used with the lifecycle_state property of a CrossConnect.
A constant which can be used with the lifecycle_state property of a CrossConnect.
A constant which can be used with the lifecycle_state property of a CrossConnect.
Gets the compartment_id of this CrossConnect.
Gets the cross_connect_group_id of this CrossConnect.
Gets the display_name of this CrossConnect.
Gets the id of this CrossConnect.
Gets the lifecycle_state of this CrossConnect.
Gets the location_name of this CrossConnect.
Gets the port_name of this CrossConnect.
Gets the port_speed_shape_name of this CrossConnect.
Gets the time_created of this CrossConnect.
Methods:
__init__(**kwargs)Initializes a new CrossConnect object with values from keyword arguments.
- LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶
A constant which can be used with the lifecycle_state property of a CrossConnect. This constant has a value of “INACTIVE”
- LIFECYCLE_STATE_PENDING_CUSTOMER = 'PENDING_CUSTOMER'¶
A constant which can be used with the lifecycle_state property of a CrossConnect. This constant has a value of “PENDING_CUSTOMER”
- LIFECYCLE_STATE_PROVISIONED = 'PROVISIONED'¶
A constant which can be used with the lifecycle_state property of a CrossConnect. This constant has a value of “PROVISIONED”
- LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'¶
A constant which can be used with the lifecycle_state property of a CrossConnect. This constant has a value of “PROVISIONING”
- LIFECYCLE_STATE_TERMINATED = 'TERMINATED'¶
A constant which can be used with the lifecycle_state property of a CrossConnect. This constant has a value of “TERMINATED”
- LIFECYCLE_STATE_TERMINATING = 'TERMINATING'¶
A constant which can be used with the lifecycle_state property of a CrossConnect. This constant has a value of “TERMINATING”
- __init__(**kwargs)¶
Initializes a new CrossConnect object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
compartment_id (str) – The value to assign to the compartment_id property of this CrossConnect.
cross_connect_group_id (str) – The value to assign to the cross_connect_group_id property of this CrossConnect.
display_name (str) – The value to assign to the display_name property of this CrossConnect.
id (str) – The value to assign to the id property of this CrossConnect.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this CrossConnect. Allowed values for this property are: “PENDING_CUSTOMER”, “PROVISIONING”, “PROVISIONED”, “INACTIVE”, “TERMINATING”, “TERMINATED”
location_name (str) – The value to assign to the location_name property of this CrossConnect.
port_name (str) – The value to assign to the port_name property of this CrossConnect.
port_speed_shape_name (str) – The value to assign to the port_speed_shape_name property of this CrossConnect.
time_created (datetime) – The value to assign to the time_created property of this CrossConnect.
- property compartment_id¶
Gets the compartment_id of this CrossConnect. The OCID of the compartment containing the cross-connect group.
- Returns
The compartment_id of this CrossConnect.
- Return type
str
- property cross_connect_group_id¶
Gets the cross_connect_group_id of this CrossConnect. The OCID of the cross-connect group this cross-connect belongs to (if any).
- Returns
The cross_connect_group_id of this CrossConnect.
- Return type
str
- property display_name¶
Gets the display_name of this CrossConnect. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this CrossConnect.
- Return type
str
- property id¶
Gets the id of this CrossConnect. The cross-connect’s Oracle ID (OCID).
- Returns
The id of this CrossConnect.
- Return type
str
- property lifecycle_state¶
Gets the lifecycle_state of this CrossConnect. The cross-connect’s current state.
Allowed values for this property are: “PENDING_CUSTOMER”, “PROVISIONING”, “PROVISIONED”, “INACTIVE”, “TERMINATING”, “TERMINATED”
- Returns
The lifecycle_state of this CrossConnect.
- Return type
str
- property location_name¶
Gets the location_name of this CrossConnect. The name of the FastConnect location where this cross-connect is installed.
- Returns
The location_name of this CrossConnect.
- Return type
str
- property port_name¶
Gets the port_name of this CrossConnect. A string identifying the meet-me room port for this cross-connect.
- Returns
The port_name of this CrossConnect.
- Return type
str
- property port_speed_shape_name¶
Gets the port_speed_shape_name of this CrossConnect. The port speed for this cross-connect.
Example: 10 Gbps
- Returns
The port_speed_shape_name of this CrossConnect.
- Return type
str