VisibleTrafficNode

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

Bases: oci.vn_monitoring.models.traffic_node.TrafficNode

Defines the configuration of a traffic node that is visible to the user.

Attributes

TYPE_ACCESS_DENIED str(object=’’) -> str
TYPE_VISIBLE str(object=’’) -> str
egress_security_action Gets the egress_security_action of this TrafficNode.
egress_traffic Gets the egress_traffic of this TrafficNode.
entity_id Gets the entity_id of this VisibleTrafficNode.
ingress_security_action Gets the ingress_security_action of this TrafficNode.
next_hop_routing_action Gets the next_hop_routing_action of this TrafficNode.
transformation_description Gets the transformation_description of this VisibleTrafficNode.
type [Required] Gets the type of this TrafficNode.

Methods

__init__(**kwargs) Initializes a new VisibleTrafficNode 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'
TYPE_VISIBLE = 'VISIBLE'
__init__(**kwargs)

Initializes a new VisibleTrafficNode object with values from keyword arguments. The default value of the type attribute of this class is VISIBLE 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 VisibleTrafficNode. Allowed values for this property are: “VISIBLE”, “ACCESS_DENIED”
  • egress_traffic (oci.vn_monitoring.models.EgressTrafficSpec) – The value to assign to the egress_traffic property of this VisibleTrafficNode.
  • next_hop_routing_action (oci.vn_monitoring.models.RoutingAction) – The value to assign to the next_hop_routing_action property of this VisibleTrafficNode.
  • egress_security_action (oci.vn_monitoring.models.SecurityAction) – The value to assign to the egress_security_action property of this VisibleTrafficNode.
  • ingress_security_action (oci.vn_monitoring.models.SecurityAction) – The value to assign to the ingress_security_action property of this VisibleTrafficNode.
  • entity_id (str) – The value to assign to the entity_id property of this VisibleTrafficNode.
  • transformation_description (str) – The value to assign to the transformation_description property of this VisibleTrafficNode.
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
entity_id

Gets the entity_id of this VisibleTrafficNode. The OCID of the OCI entity that represents the traffic node (Instance, GW, LB, etc.).

Returns:The entity_id of this VisibleTrafficNode.
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.

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
transformation_description

Gets the transformation_description of this VisibleTrafficNode. Describes how the traffic was transformed. For example, if an address is translated by a NAT GW, the string will describe the translation: ‘SNAT: 10.0.0.1->204.0.0.1’

Returns:The transformation_description of this VisibleTrafficNode.
Return type:str
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