TrafficNode¶
- class oci.vn_monitoring.models.TrafficNode(**kwargs)¶
Bases:
objectDefines the configuration of the OCI entity that represents a traffic node in PathAnalysisResult.
Attributes:
A constant which can be used with the type property of a TrafficNode.
A constant which can be used with the type property of a TrafficNode.
Gets the egress_security_action of this TrafficNode.
Gets the egress_traffic of this TrafficNode.
Gets the ingress_security_action of this TrafficNode.
Gets the next_hop_routing_action of this TrafficNode.
[Required] Gets the type of this TrafficNode.
Gets the zpr_egress_security_action of this TrafficNode.
Gets the zpr_ingress_security_action of this TrafficNode.
Methods:
__init__(**kwargs)Initializes a new TrafficNode 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_ACCESS_DENIED = 'ACCESS_DENIED'¶
A constant which can be used with the type property of a TrafficNode. This constant has a value of “ACCESS_DENIED”
- TYPE_VISIBLE = 'VISIBLE'¶
A constant which can be used with the type property of a TrafficNode. This constant has a value of “VISIBLE”
- __init__(**kwargs)¶
Initializes a new TrafficNode object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 TrafficNode. Allowed values for this property are: “VISIBLE”, “ACCESS_DENIED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
egress_traffic (oci.vn_monitoring.models.EgressTrafficSpec) – The value to assign to the egress_traffic property of this TrafficNode.
next_hop_routing_action (oci.vn_monitoring.models.RoutingAction) – The value to assign to the next_hop_routing_action property of this TrafficNode.
egress_security_action (oci.vn_monitoring.models.SecurityAction) – The value to assign to the egress_security_action property of this TrafficNode.
ingress_security_action (oci.vn_monitoring.models.SecurityAction) – The value to assign to the ingress_security_action property of this TrafficNode.
zpr_egress_security_action (oci.vn_monitoring.models.SecurityAction) – The value to assign to the zpr_egress_security_action property of this TrafficNode.
zpr_ingress_security_action (oci.vn_monitoring.models.SecurityAction) – The value to assign to the zpr_ingress_security_action property of this TrafficNode.
- property egress_security_action¶
Gets the egress_security_action of this TrafficNode.
- Returns
The egress_security_action of this TrafficNode.
- Return type
- property egress_traffic¶
Gets the egress_traffic of this TrafficNode.
- Returns
The egress_traffic of this TrafficNode.
- Return type
- 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 ingress_security_action¶
Gets the ingress_security_action of this TrafficNode.
- Returns
The ingress_security_action of this TrafficNode.
- Return type
- property next_hop_routing_action¶
Gets the next_hop_routing_action of this TrafficNode.
- Returns
The next_hop_routing_action of this TrafficNode.
- Return type
- property type¶
[Required] Gets the type of this TrafficNode. Type of the TrafficNode.
Allowed values for this property are: “VISIBLE”, “ACCESS_DENIED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this TrafficNode.
- Return type
str
- property zpr_egress_security_action¶
Gets the zpr_egress_security_action of this TrafficNode.
- Returns
The zpr_egress_security_action of this TrafficNode.
- Return type
- property zpr_ingress_security_action¶
Gets the zpr_ingress_security_action of this TrafficNode.
- Returns
The zpr_ingress_security_action of this TrafficNode.
- Return type