VcnRoutingConfiguration

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

Bases: ForwardedRoutingConfiguration

Identifies the VCN route table and rule that allowed the traffic to be forwarded.

Attributes:

TYPE_DRG

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

TYPE_VCN

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

route_rule

[Required] Gets the route_rule of this VcnRoutingConfiguration.

type

[Required] Gets the type of this ForwardedRoutingConfiguration.

vcn_route_table_id

[Required] Gets the vcn_route_table_id of this VcnRoutingConfiguration.

Methods:

__init__(**kwargs)

Initializes a new VcnRoutingConfiguration 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_DRG = 'DRG'

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

TYPE_VCN = 'VCN'

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

__init__(**kwargs)

Initializes a new VcnRoutingConfiguration 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 VcnRoutingConfiguration. Allowed values for this property are: “VCN”, “DRG”

  • vcn_route_table_id (str) – The value to assign to the vcn_route_table_id property of this VcnRoutingConfiguration.

  • route_rule (oci.vn_monitoring.models.RouteRule) – The value to assign to the route_rule property of this VcnRoutingConfiguration.

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_rule

[Required] Gets the route_rule of this VcnRoutingConfiguration.

Returns

The route_rule of this VcnRoutingConfiguration.

Return type

oci.vn_monitoring.models.RouteRule

property type

[Required] Gets the type of this ForwardedRoutingConfiguration. Type of the forwarded routing configuration.

Allowed values for this property are: “VCN”, “DRG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The type of this ForwardedRoutingConfiguration.

Return type

str

property vcn_route_table_id

[Required] Gets the vcn_route_table_id of this VcnRoutingConfiguration. The OCID of the VCN route table that allowed the traffic.

Returns

The vcn_route_table_id of this VcnRoutingConfiguration.

Return type

str