VxlanInspectionRule¶
- class oci.network_firewall.models.VxlanInspectionRule(**kwargs)¶
Bases:
TunnelInspectionRuleVxlan Tunnel Inspection Rule used on the firewall policy rules.
Attributes:
A constant which can be used with the action property of a TunnelInspectionRule.
A constant which can be used with the action property of a TunnelInspectionRule.
A constant which can be used with the protocol property of a TunnelInspectionRule.
Gets the action of this TunnelInspectionRule.
[Required] Gets the condition of this VxlanInspectionRule.
Gets the description of this TunnelInspectionRule.
[Required] Gets the name of this TunnelInspectionRule.
[Required] Gets the parent_resource_id of this TunnelInspectionRule.
Gets the position of this TunnelInspectionRule.
Gets the priority_order of this TunnelInspectionRule.
[Required] Gets the profile of this VxlanInspectionRule.
[Required] Gets the protocol of this TunnelInspectionRule.
Methods:
__init__(**kwargs)Initializes a new VxlanInspectionRule 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 VxlanInspectionRule object with values from keyword arguments. The default value of the
protocolattribute of this class isVXLANand it should not be changed. 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 VxlanInspectionRule.
protocol (str) – The value to assign to the protocol property of this VxlanInspectionRule. Allowed values for this property are: “VXLAN”
action (str) – The value to assign to the action property of this VxlanInspectionRule. Allowed values for this property are: “INSPECT”, “INSPECT_AND_CAPTURE_LOG”
priority_order (int) – The value to assign to the priority_order property of this VxlanInspectionRule.
position (oci.network_firewall.models.RulePosition) – The value to assign to the position property of this VxlanInspectionRule.
parent_resource_id (str) – The value to assign to the parent_resource_id property of this VxlanInspectionRule.
description (str) – The value to assign to the description property of this VxlanInspectionRule.
condition (oci.network_firewall.models.VxlanInspectionRuleMatchCriteria) – The value to assign to the condition property of this VxlanInspectionRule.
profile (oci.network_firewall.models.VxlanInspectionRuleProfile) – The value to assign to the profile property of this VxlanInspectionRule.
- property 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
- property condition¶
[Required] Gets the condition of this VxlanInspectionRule.
- Returns
The condition of this VxlanInspectionRule.
- Return type
oci.network_firewall.models.VxlanInspectionRuleMatchCriteria
- property description¶
Gets the description of this TunnelInspectionRule. The description of the tunnel inspect rule. This field can be used to add additional info.
- Returns
The description 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.
- property 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
- property 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
- property position¶
Gets the position of this TunnelInspectionRule.
- Returns
The position of this TunnelInspectionRule.
- Return type
- property 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
- property profile¶
[Required] Gets the profile of this VxlanInspectionRule.
- Returns
The profile of this VxlanInspectionRule.
- Return type
- property 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