VcnRoutingConfiguration¶
-
class
oci.vn_monitoring.models.
VcnRoutingConfiguration
(**kwargs)¶ Bases:
oci.vn_monitoring.models.forwarded_routing_configuration.ForwardedRoutingConfiguration
Identifies the VCN route table and rule that allowed the traffic to be forwarded.
Attributes
TYPE_DRG
str(object=’’) -> str TYPE_VCN
str(object=’’) -> str 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'¶
-
TYPE_VCN
= 'VCN'¶
-
__init__
(**kwargs)¶ Initializes a new VcnRoutingConfiguration object with values from keyword arguments. The default value of the
type
attribute of this class isVCN
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.
-
route_rule
¶ [Required] Gets the route_rule of this VcnRoutingConfiguration.
Returns: The route_rule of this VcnRoutingConfiguration. Return type: oci.vn_monitoring.models.RouteRule
-
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
-