DrgRoutingConfiguration

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

Bases: oci.vn_monitoring.models.forwarded_routing_configuration.ForwardedRoutingConfiguration

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

Attributes

TYPE_DRG str(object=’’) -> str
TYPE_VCN str(object=’’) -> str
drg_route_table_id [Required] Gets the drg_route_table_id of this DrgRoutingConfiguration.
route_rule [Required] Gets the route_rule of this DrgRoutingConfiguration.
type [Required] Gets the type of this ForwardedRoutingConfiguration.

Methods

__init__(**kwargs) Initializes a new DrgRoutingConfiguration 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'
TYPE_VCN = 'VCN'
__init__(**kwargs)

Initializes a new DrgRoutingConfiguration object with values from keyword arguments. The default value of the type attribute of this class is DRG 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 DrgRoutingConfiguration. Allowed values for this property are: “VCN”, “DRG”
  • drg_route_table_id (str) – The value to assign to the drg_route_table_id property of this DrgRoutingConfiguration.
  • route_rule (oci.vn_monitoring.models.DrgRouteRule) – The value to assign to the route_rule property of this DrgRoutingConfiguration.
drg_route_table_id

[Required] Gets the drg_route_table_id of this DrgRoutingConfiguration. The OCID of the DRG route table that allowed the traffic.

Returns:The drg_route_table_id of this DrgRoutingConfiguration.
Return type:str
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_rule

[Required] Gets the route_rule of this DrgRoutingConfiguration.

Returns:The route_rule of this DrgRoutingConfiguration.
Return type:oci.vn_monitoring.models.DrgRouteRule
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