VcnRoutingConfiguration¶
- class oci.vn_monitoring.models.VcnRoutingConfiguration(**kwargs)¶
Bases:
ForwardedRoutingConfigurationIdentifies the VCN 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 route_rule of this VcnRoutingConfiguration.
[Required] Gets the type of this ForwardedRoutingConfiguration.
[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
typeattribute of this class isVCNand 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
- 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