CreateDrgAttachmentDetails

class oci.core.models.CreateDrgAttachmentDetails(**kwargs)

Bases: object

CreateDrgAttachmentDetails model.

__init__(**kwargs)

Initializes a new CreateDrgAttachmentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) -- The value to assign to the display_name property of this CreateDrgAttachmentDetails.
  • drg_id (str) -- The value to assign to the drg_id property of this CreateDrgAttachmentDetails.
  • route_table_id (str) -- The value to assign to the route_table_id property of this CreateDrgAttachmentDetails.
  • vcn_id (str) -- The value to assign to the vcn_id property of this CreateDrgAttachmentDetails.
display_name

Gets the display_name of this CreateDrgAttachmentDetails. A user-friendly name. Does not have to be unique. Avoid entering confidential information.

Returns:The display_name of this CreateDrgAttachmentDetails.
Return type:str
drg_id

[Required] Gets the drg_id of this CreateDrgAttachmentDetails. The OCID of the DRG.

Returns:The drg_id of this CreateDrgAttachmentDetails.
Return type:str
route_table_id

Gets the route_table_id of this CreateDrgAttachmentDetails. The OCID of the route table the DRG attachment will use.

If you don't specify a route table here, the DRG attachment is created without an associated route table. The Networking service does NOT automatically associate the attached VCN's default route table with the DRG attachment.

For information about why you would associate a route table with a DRG attachment, see:

Returns:The route_table_id of this CreateDrgAttachmentDetails.
Return type:str
vcn_id

[Required] Gets the vcn_id of this CreateDrgAttachmentDetails. The OCID of the VCN.

Returns:The vcn_id of this CreateDrgAttachmentDetails.
Return type:str