VcnDrgAttachmentNetworkCreateDetails

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

Bases: oci.core.models.drg_attachment_network_create_details.DrgAttachmentNetworkCreateDetails

Specifies the VCN Attachment

Attributes

TYPE_VCN str(object=’’) -> str
id Gets the id of this DrgAttachmentNetworkCreateDetails.
route_table_id Gets the route_table_id of this VcnDrgAttachmentNetworkCreateDetails.
type [Required] Gets the type of this DrgAttachmentNetworkCreateDetails.
vcn_route_type Gets the vcn_route_type of this VcnDrgAttachmentNetworkCreateDetails.

Methods

__init__(**kwargs) Initializes a new VcnDrgAttachmentNetworkCreateDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
TYPE_VCN = 'VCN'
__init__(**kwargs)

Initializes a new VcnDrgAttachmentNetworkCreateDetails object with values from keyword arguments. The default value of the type attribute of this class is VCN and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this VcnDrgAttachmentNetworkCreateDetails. Allowed values for this property are: “VCN”
  • id (str) – The value to assign to the id property of this VcnDrgAttachmentNetworkCreateDetails.
  • route_table_id (str) – The value to assign to the route_table_id property of this VcnDrgAttachmentNetworkCreateDetails.
  • vcn_route_type (str) – The value to assign to the vcn_route_type property of this VcnDrgAttachmentNetworkCreateDetails.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

id

Gets the id of this DrgAttachmentNetworkCreateDetails. The OCID of the network attached to the DRG.

Returns:The id of this DrgAttachmentNetworkCreateDetails.
Return type:str
route_table_id

Gets the route_table_id of this VcnDrgAttachmentNetworkCreateDetails. This is the OCID of the route table that is used to route the traffic as it enters a VCN through this attachment.

For information about why you would associate a route table with a DRG attachment, see Advanced Scenario: Transit Routing. For information about why you would associate a route table with a DRG attachment, see:

Returns:The route_table_id of this VcnDrgAttachmentNetworkCreateDetails.
Return type:str
type

[Required] Gets the type of this DrgAttachmentNetworkCreateDetails. Allowed values for this property are: “VCN”

Returns:The type of this DrgAttachmentNetworkCreateDetails.
Return type:str
vcn_route_type

Gets the vcn_route_type of this VcnDrgAttachmentNetworkCreateDetails. Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. Routes from the VCN ingress route table are always imported.

Returns:The vcn_route_type of this VcnDrgAttachmentNetworkCreateDetails.
Return type:str