VcnDrgAttachmentNetworkUpdateDetails

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

Bases: oci.core.models.drg_attachment_network_update_details.DrgAttachmentNetworkUpdateDetails

Specifies the update details for the VCN attachment.

Attributes

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

Methods

__init__(**kwargs) Initializes a new VcnDrgAttachmentNetworkUpdateDetails 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 VcnDrgAttachmentNetworkUpdateDetails 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 VcnDrgAttachmentNetworkUpdateDetails. Allowed values for this property are: “VCN”
  • route_table_id (str) – The value to assign to the route_table_id property of this VcnDrgAttachmentNetworkUpdateDetails.
  • vcn_route_type (str) – The value to assign to the vcn_route_type property of this VcnDrgAttachmentNetworkUpdateDetails.
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.

route_table_id

Gets the route_table_id of this VcnDrgAttachmentNetworkUpdateDetails. 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:

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

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

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

Gets the vcn_route_type of this VcnDrgAttachmentNetworkUpdateDetails. 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 VcnDrgAttachmentNetworkUpdateDetails.
Return type:str