UpdateTunnelInspectionRuleDetails¶
- class oci.network_firewall.models.UpdateTunnelInspectionRuleDetails(**kwargs)¶
Bases:
objectUpdate Request for creating 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 address.
Attributes:
A constant which can be used with the action property of a UpdateTunnelInspectionRuleDetails.
A constant which can be used with the action property of a UpdateTunnelInspectionRuleDetails.
A constant which can be used with the protocol property of a UpdateTunnelInspectionRuleDetails.
Gets the action of this UpdateTunnelInspectionRuleDetails.
Gets the description of this UpdateTunnelInspectionRuleDetails.
Gets the position of this UpdateTunnelInspectionRuleDetails.
[Required] Gets the protocol of this UpdateTunnelInspectionRuleDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateTunnelInspectionRuleDetails 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 UpdateTunnelInspectionRuleDetails. 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 UpdateTunnelInspectionRuleDetails. 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 UpdateTunnelInspectionRuleDetails. This constant has a value of “VXLAN”
- __init__(**kwargs)¶
Initializes a new UpdateTunnelInspectionRuleDetails 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
action (str) – The value to assign to the action property of this UpdateTunnelInspectionRuleDetails. Allowed values for this property are: “INSPECT”, “INSPECT_AND_CAPTURE_LOG”
protocol (str) – The value to assign to the protocol property of this UpdateTunnelInspectionRuleDetails. Allowed values for this property are: “VXLAN”
position (oci.network_firewall.models.RulePosition) – The value to assign to the position property of this UpdateTunnelInspectionRuleDetails.
description (str) – The value to assign to the description property of this UpdateTunnelInspectionRuleDetails.
- property action¶
Gets the action of this UpdateTunnelInspectionRuleDetails. 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”
- Returns
The action of this UpdateTunnelInspectionRuleDetails.
- Return type
str
- property description¶
Gets the description of this UpdateTunnelInspectionRuleDetails. The description of the tunnel inspect rule. This field can be used to add additional info.
- Returns
The description of this UpdateTunnelInspectionRuleDetails.
- 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 position¶
Gets the position of this UpdateTunnelInspectionRuleDetails.
- Returns
The position of this UpdateTunnelInspectionRuleDetails.
- Return type
- property protocol¶
[Required] Gets the protocol of this UpdateTunnelInspectionRuleDetails. 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”
- Returns
The protocol of this UpdateTunnelInspectionRuleDetails.
- Return type
str