VcnDrgAttachmentNetworkUpdateDetails

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

Bases: DrgAttachmentNetworkUpdateDetails

Specifies the update details for the VCN attachment.

Attributes:

TYPE_INTERNET

A constant which can be used with the type property of a DrgAttachmentNetworkUpdateDetails.

TYPE_LOOPBACK

A constant which can be used with the type property of a DrgAttachmentNetworkUpdateDetails.

TYPE_VCN

A constant which can be used with the type property of a DrgAttachmentNetworkUpdateDetails.

TYPE_VIRTUAL_CIRCUIT

A constant which can be used with the type property of a DrgAttachmentNetworkUpdateDetails.

route_table_id

Gets the route_table_id of this VcnDrgAttachmentNetworkUpdateDetails.

type

[Required] Gets the type of this DrgAttachmentNetworkUpdateDetails.

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_INTERNET = 'INTERNET'

A constant which can be used with the type property of a DrgAttachmentNetworkUpdateDetails. This constant has a value of “INTERNET”

TYPE_LOOPBACK = 'LOOPBACK'

A constant which can be used with the type property of a DrgAttachmentNetworkUpdateDetails. This constant has a value of “LOOPBACK”

TYPE_VCN = 'VCN'

A constant which can be used with the type property of a DrgAttachmentNetworkUpdateDetails. This constant has a value of “VCN”

TYPE_VIRTUAL_CIRCUIT = 'VIRTUAL_CIRCUIT'

A constant which can be used with the type property of a DrgAttachmentNetworkUpdateDetails. This constant has a value of “VIRTUAL_CIRCUIT”

__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”, “VIRTUAL_CIRCUIT”, “LOOPBACK”, “INTERNET”

  • route_table_id (str) – The value to assign to the route_table_id 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.

property 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

property type

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

Returns

The type of this DrgAttachmentNetworkUpdateDetails.

Return type

str