DrgAttachment¶
-
class
oci.core.models.
DrgAttachment
(**kwargs)¶ Bases:
object
A link between a DRG and VCN. For more information, see Overview of the Networking Service.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Attributes
LIFECYCLE_STATE_ATTACHED
A constant which can be used with the lifecycle_state property of a DrgAttachment. LIFECYCLE_STATE_ATTACHING
A constant which can be used with the lifecycle_state property of a DrgAttachment. LIFECYCLE_STATE_DETACHED
A constant which can be used with the lifecycle_state property of a DrgAttachment. LIFECYCLE_STATE_DETACHING
A constant which can be used with the lifecycle_state property of a DrgAttachment. compartment_id
[Required] Gets the compartment_id of this DrgAttachment. display_name
Gets the display_name of this DrgAttachment. drg_id
[Required] Gets the drg_id of this DrgAttachment. id
[Required] Gets the id of this DrgAttachment. lifecycle_state
[Required] Gets the lifecycle_state of this DrgAttachment. route_table_id
Gets the route_table_id of this DrgAttachment. time_created
Gets the time_created of this DrgAttachment. vcn_id
[Required] Gets the vcn_id of this DrgAttachment. Methods
__init__
(**kwargs)Initializes a new DrgAttachment object with values from keyword arguments. -
LIFECYCLE_STATE_ATTACHED
= 'ATTACHED'¶ A constant which can be used with the lifecycle_state property of a DrgAttachment. This constant has a value of “ATTACHED”
-
LIFECYCLE_STATE_ATTACHING
= 'ATTACHING'¶ A constant which can be used with the lifecycle_state property of a DrgAttachment. This constant has a value of “ATTACHING”
-
LIFECYCLE_STATE_DETACHED
= 'DETACHED'¶ A constant which can be used with the lifecycle_state property of a DrgAttachment. This constant has a value of “DETACHED”
-
LIFECYCLE_STATE_DETACHING
= 'DETACHING'¶ A constant which can be used with the lifecycle_state property of a DrgAttachment. This constant has a value of “DETACHING”
-
__init__
(**kwargs)¶ Initializes a new DrgAttachment 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 DrgAttachment.
- display_name (str) – The value to assign to the display_name property of this DrgAttachment.
- drg_id (str) – The value to assign to the drg_id property of this DrgAttachment.
- id (str) – The value to assign to the id property of this DrgAttachment.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this DrgAttachment. Allowed values for this property are: “ATTACHING”, “ATTACHED”, “DETACHING”, “DETACHED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- route_table_id (str) – The value to assign to the route_table_id property of this DrgAttachment.
- time_created (datetime) – The value to assign to the time_created property of this DrgAttachment.
- vcn_id (str) – The value to assign to the vcn_id property of this DrgAttachment.
-
compartment_id
¶ [Required] Gets the compartment_id of this DrgAttachment. The OCID of the compartment containing the DRG attachment.
Returns: The compartment_id of this DrgAttachment. Return type: str
-
display_name
¶ Gets the display_name of this DrgAttachment. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this DrgAttachment. Return type: str
-
drg_id
¶ [Required] Gets the drg_id of this DrgAttachment. The OCID of the DRG.
Returns: The drg_id of this DrgAttachment. Return type: str
-
id
¶ [Required] Gets the id of this DrgAttachment. The DRG attachment’s Oracle ID (OCID).
Returns: The id of this DrgAttachment. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this DrgAttachment. The DRG attachment’s current state.
Allowed values for this property are: “ATTACHING”, “ATTACHED”, “DETACHING”, “DETACHED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this DrgAttachment. Return type: str
-
route_table_id
¶ Gets the route_table_id of this DrgAttachment. The OCID of the route table the DRG attachment is using.
For information about why you would associate a route table with a DRG attachment, see:
Returns: The route_table_id of this DrgAttachment. Return type: str
-
time_created
¶ Gets the time_created of this DrgAttachment. The date and time the DRG attachment was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
Returns: The time_created of this DrgAttachment. Return type: datetime
-
vcn_id
¶ [Required] Gets the vcn_id of this DrgAttachment. The OCID of the VCN.
Returns: The vcn_id of this DrgAttachment. Return type: str
-