DrgRoutingConfiguration¶
- class oci.vn_monitoring.models.DrgRoutingConfiguration(**kwargs)¶
Bases:
ForwardedRoutingConfigurationIdentifies the DRG route table and rule that allowed the traffic to be forwarded.
Attributes:
A constant which can be used with the type property of a ForwardedRoutingConfiguration.
A constant which can be used with the type property of a ForwardedRoutingConfiguration.
[Required] Gets the drg_route_table_id of this DrgRoutingConfiguration.
[Required] Gets the route_rule of this DrgRoutingConfiguration.
[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'¶
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 DrgRoutingConfiguration object with values from keyword arguments. The default value of the
typeattribute of this class isDRGand 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.
- property 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.
- property route_rule¶
[Required] Gets the route_rule of this DrgRoutingConfiguration.
- Returns
The route_rule of this DrgRoutingConfiguration.
- Return type
- 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