CreateCrossConnectDetails¶
- class oci.core.models.CreateCrossConnectDetails(**kwargs)¶
Bases:
objectCreateCrossConnectDetails model.
Methods:
__init__(**kwargs)Initializes a new CreateCrossConnectDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateCrossConnectDetails.
Gets the cross_connect_group_id of this CreateCrossConnectDetails.
Gets the customer_reference_name of this CreateCrossConnectDetails.
Gets the defined_tags of this CreateCrossConnectDetails.
Gets the display_name of this CreateCrossConnectDetails.
Gets the far_cross_connect_or_cross_connect_group_id of this CreateCrossConnectDetails.
Gets the freeform_tags of this CreateCrossConnectDetails.
Gets the interface_down_timer_value_in_milliseconds of this CreateCrossConnectDetails.
Gets the interface_name of this CreateCrossConnectDetails.
Gets the is_interface_hold_timer_enabled of this CreateCrossConnectDetails.
Gets the is_qos_enabled of this CreateCrossConnectDetails.
[Required] Gets the location_name of this CreateCrossConnectDetails.
Gets the macsec_properties of this CreateCrossConnectDetails.
Gets the near_cross_connect_or_cross_connect_group_id of this CreateCrossConnectDetails.
Gets the oci_physical_device_name of this CreateCrossConnectDetails.
[Required] Gets the port_speed_shape_name of this CreateCrossConnectDetails.
- __init__(**kwargs)¶
Initializes a new CreateCrossConnectDetails 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 CreateCrossConnectDetails.
cross_connect_group_id (str) – The value to assign to the cross_connect_group_id property of this CreateCrossConnectDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateCrossConnectDetails.
display_name (str) – The value to assign to the display_name property of this CreateCrossConnectDetails.
far_cross_connect_or_cross_connect_group_id (str) – The value to assign to the far_cross_connect_or_cross_connect_group_id property of this CreateCrossConnectDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateCrossConnectDetails.
location_name (str) – The value to assign to the location_name property of this CreateCrossConnectDetails.
near_cross_connect_or_cross_connect_group_id (str) – The value to assign to the near_cross_connect_or_cross_connect_group_id property of this CreateCrossConnectDetails.
port_speed_shape_name (str) – The value to assign to the port_speed_shape_name property of this CreateCrossConnectDetails.
customer_reference_name (str) – The value to assign to the customer_reference_name property of this CreateCrossConnectDetails.
macsec_properties (oci.core.models.CreateMacsecProperties) – The value to assign to the macsec_properties property of this CreateCrossConnectDetails.
is_interface_hold_timer_enabled (bool) – The value to assign to the is_interface_hold_timer_enabled property of this CreateCrossConnectDetails.
interface_down_timer_value_in_milliseconds (int) – The value to assign to the interface_down_timer_value_in_milliseconds property of this CreateCrossConnectDetails.
is_qos_enabled (bool) – The value to assign to the is_qos_enabled property of this CreateCrossConnectDetails.
oci_physical_device_name (str) – The value to assign to the oci_physical_device_name property of this CreateCrossConnectDetails.
interface_name (str) – The value to assign to the interface_name property of this CreateCrossConnectDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateCrossConnectDetails. The OCID of the compartment to contain the cross-connect.
- Returns
The compartment_id of this CreateCrossConnectDetails.
- Return type
str
- property cross_connect_group_id¶
Gets the cross_connect_group_id of this CreateCrossConnectDetails. The OCID of the cross-connect group to put this cross-connect in.
- Returns
The cross_connect_group_id of this CreateCrossConnectDetails.
- Return type
str
- property customer_reference_name¶
Gets the customer_reference_name of this CreateCrossConnectDetails. A reference name or identifier for the physical fiber connection that this cross-connect uses.
- Returns
The customer_reference_name of this CreateCrossConnectDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateCrossConnectDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this CreateCrossConnectDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this CreateCrossConnectDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this CreateCrossConnectDetails.
- Return type
str
- property far_cross_connect_or_cross_connect_group_id¶
Gets the far_cross_connect_or_cross_connect_group_id of this CreateCrossConnectDetails. If you already have an existing cross-connect or cross-connect group at this FastConnect location, and you want this new cross-connect to be on a different router (for the purposes of redundancy), provide the OCID of that existing cross-connect or cross-connect group.
- Returns
The far_cross_connect_or_cross_connect_group_id of this CreateCrossConnectDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateCrossConnectDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this CreateCrossConnectDetails.
- Return type
dict(str, str)
- property interface_down_timer_value_in_milliseconds¶
Gets the interface_down_timer_value_in_milliseconds of this CreateCrossConnectDetails. The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
- Returns
The interface_down_timer_value_in_milliseconds of this CreateCrossConnectDetails.
- Return type
int
- property interface_name¶
Gets the interface_name of this CreateCrossConnectDetails. The name of the FastConnect interface where this cross-connect is installed.
- Returns
The interface_name of this CreateCrossConnectDetails.
- Return type
str
- property is_interface_hold_timer_enabled¶
Gets the is_interface_hold_timer_enabled of this CreateCrossConnectDetails. The flag to enable or disable the down timer for the interface.
- Returns
The is_interface_hold_timer_enabled of this CreateCrossConnectDetails.
- Return type
bool
- property is_qos_enabled¶
Gets the is_qos_enabled of this CreateCrossConnectDetails. When true, restricts placement so cross-connects lands only on QoS-capable devices. When false (default), placement may use any supported device. If no QoS-capable devices are available in the selected location, the request fails.
- Returns
The is_qos_enabled of this CreateCrossConnectDetails.
- Return type
bool
- property location_name¶
[Required] Gets the location_name of this CreateCrossConnectDetails. The name of the FastConnect location where this cross-connect will be installed. To get a list of the available locations, see
list_cross_connect_locations().Example: CyrusOne, Chandler, AZ
- Returns
The location_name of this CreateCrossConnectDetails.
- Return type
str
- property macsec_properties¶
Gets the macsec_properties of this CreateCrossConnectDetails.
- Returns
The macsec_properties of this CreateCrossConnectDetails.
- Return type
- property near_cross_connect_or_cross_connect_group_id¶
Gets the near_cross_connect_or_cross_connect_group_id of this CreateCrossConnectDetails. If you already have an existing cross-connect or cross-connect group at this FastConnect location, and you want this new cross-connect to be on the same router, provide the OCID of that existing cross-connect or cross-connect group.
- Returns
The near_cross_connect_or_cross_connect_group_id of this CreateCrossConnectDetails.
- Return type
str
- property oci_physical_device_name¶
Gets the oci_physical_device_name of this CreateCrossConnectDetails. The name of the FastConnect device where this cross-connect is installed.
- Returns
The oci_physical_device_name of this CreateCrossConnectDetails.
- Return type
str
- property port_speed_shape_name¶
[Required] Gets the port_speed_shape_name of this CreateCrossConnectDetails. The port speed for this cross-connect. To get a list of the available port speeds, see
list_crossconnect_port_speed_shapes().Example: 10 Gbps
- Returns
The port_speed_shape_name of this CreateCrossConnectDetails.
- Return type
str