TunnelInspectionRule¶
-
class
oci.network_firewall.models.
TunnelInspectionRule
(**kwargs)¶ Bases:
object
Tunnel Inspection Rule used in the firewall policy rules. Tunnel Inspection Rule determines whether tunnel inspection is applied on the traffic based on attributes such as Tunnel Inspect protocol, the source and destination IP addresses.
Attributes
ACTION_INSPECT
A constant which can be used with the action property of a TunnelInspectionRule. ACTION_INSPECT_AND_CAPTURE_LOG
A constant which can be used with the action property of a TunnelInspectionRule. PROTOCOL_VXLAN
A constant which can be used with the protocol property of a TunnelInspectionRule. action
Gets the action of this TunnelInspectionRule. name
[Required] Gets the name of this TunnelInspectionRule. parent_resource_id
[Required] Gets the parent_resource_id of this TunnelInspectionRule. position
Gets the position of this TunnelInspectionRule. priority_order
Gets the priority_order of this TunnelInspectionRule. protocol
[Required] Gets the protocol of this TunnelInspectionRule. Methods
__init__
(**kwargs)Initializes a new TunnelInspectionRule 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. -
ACTION_INSPECT
= 'INSPECT'¶ A constant which can be used with the action property of a TunnelInspectionRule. This constant has a value of “INSPECT”
-
ACTION_INSPECT_AND_CAPTURE_LOG
= 'INSPECT_AND_CAPTURE_LOG'¶ A constant which can be used with the action property of a TunnelInspectionRule. This constant has a value of “INSPECT_AND_CAPTURE_LOG”
-
PROTOCOL_VXLAN
= 'VXLAN'¶ A constant which can be used with the protocol property of a TunnelInspectionRule. This constant has a value of “VXLAN”
-
__init__
(**kwargs)¶ Initializes a new TunnelInspectionRule 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: - name (str) – The value to assign to the name property of this TunnelInspectionRule.
- protocol (str) – The value to assign to the protocol property of this TunnelInspectionRule. Allowed values for this property are: “VXLAN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- action (str) – The value to assign to the action property of this TunnelInspectionRule. Allowed values for this property are: “INSPECT”, “INSPECT_AND_CAPTURE_LOG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- priority_order (int) – The value to assign to the priority_order property of this TunnelInspectionRule.
- position (oci.network_firewall.models.RulePosition) – The value to assign to the position property of this TunnelInspectionRule.
- parent_resource_id (str) – The value to assign to the parent_resource_id property of this TunnelInspectionRule.
-
action
¶ Gets the action of this TunnelInspectionRule. Types of Inspect Action on the Traffic flow.
- INSPECT - Inspect the traffic.
- INSPECT_AND_CAPTURE_LOG - Inspect and capture logs for the traffic.
Allowed values for this property are: “INSPECT”, “INSPECT_AND_CAPTURE_LOG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The action of this TunnelInspectionRule. 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.
-
name
¶ [Required] Gets the name of this TunnelInspectionRule. Name for the Tunnel Inspection Rule, must be unique within the policy.
Returns: The name of this TunnelInspectionRule. Return type: str
-
parent_resource_id
¶ [Required] Gets the parent_resource_id of this TunnelInspectionRule. OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
Returns: The parent_resource_id of this TunnelInspectionRule. Return type: str
-
position
¶ Gets the position of this TunnelInspectionRule.
Returns: The position of this TunnelInspectionRule. Return type: oci.network_firewall.models.RulePosition
-
priority_order
¶ Gets the priority_order of this TunnelInspectionRule. The priority order in which this rule should be evaluated
Returns: The priority_order of this TunnelInspectionRule. Return type: int
-
protocol
¶ [Required] Gets the protocol of this TunnelInspectionRule. Types of Tunnel Inspection Protocol to be applied on the traffic.
- VXLAN - VXLAN Tunnel Inspection Protocol will be applied on the traffic.
Allowed values for this property are: “VXLAN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The protocol of this TunnelInspectionRule. Return type: str
-