TrafficNode

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

Bases: object

Defines the configuration of the OCI entity that represents a traffic node in PathAnalysisResult.

Attributes

TYPE_ACCESS_DENIED A constant which can be used with the type property of a TrafficNode.
TYPE_VISIBLE A constant which can be used with the type property of a TrafficNode.
egress_security_action Gets the egress_security_action of this TrafficNode.
egress_traffic Gets the egress_traffic of this TrafficNode.
ingress_security_action Gets the ingress_security_action of this TrafficNode.
next_hop_routing_action Gets the next_hop_routing_action of this TrafficNode.
type [Required] Gets the type 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.
egress_security_action

Gets the egress_security_action of this TrafficNode.

Returns:The egress_security_action of this TrafficNode.
Return type:oci.vn_monitoring.models.SecurityAction
egress_traffic

Gets the egress_traffic of this TrafficNode.

Returns:The egress_traffic of this TrafficNode.
Return type:oci.vn_monitoring.models.EgressTrafficSpec
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.

ingress_security_action

Gets the ingress_security_action of this TrafficNode.

Returns:The ingress_security_action of this TrafficNode.
Return type:oci.vn_monitoring.models.SecurityAction
next_hop_routing_action

Gets the next_hop_routing_action of this TrafficNode.

Returns:The next_hop_routing_action of this TrafficNode.
Return type:oci.vn_monitoring.models.RoutingAction
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