VisibleTrafficNode¶
- class oci.vn_monitoring.models.VisibleTrafficNode(**kwargs)¶
Bases:
TrafficNodeDefines the configuration of a traffic node that is visible to the user.
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 entity_id of this VisibleTrafficNode.
Gets the ingress_security_action of this TrafficNode.
Gets the next_hop_routing_action of this TrafficNode.
Gets the transformation_description of this VisibleTrafficNode.
[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 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'¶
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 VisibleTrafficNode object with values from keyword arguments. The default value of the
typeattribute of this class isVISIBLEand 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.
zpr_egress_security_action (oci.vn_monitoring.models.SecurityAction) – The value to assign to the zpr_egress_security_action property of this VisibleTrafficNode.
zpr_ingress_security_action (oci.vn_monitoring.models.SecurityAction) – The value to assign to the zpr_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.
- 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
- property 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.
- 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 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
- 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