📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
network_firewall
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/network_firewall/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: tunnel_inspection_rule.cpython-39.opt-1.pyc
a ���f�% � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdd� Zedd� �Z e d d � �Zejdd � �Ze dd � �Z e jdd � �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Zdd� Zdd� Zdd � Zd!S )"�TunnelInspectionRulea 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. �VXLAN�INSPECT�INSPECT_AND_CAPTURE_LOGc K sP ddddddd�| _ ddddd d d�| _d| _d| _d| _d| _d| _d| _dS )a� 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: * :class:`~oci.network_firewall.models.VxlanInspectionRule` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this TunnelInspectionRule. :type name: str :param protocol: 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'. :type protocol: str :param action: 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'. :type action: str :param priority_order: The value to assign to the priority_order property of this TunnelInspectionRule. :type priority_order: int :param position: The value to assign to the position property of this TunnelInspectionRule. :type position: oci.network_firewall.models.RulePosition :param parent_resource_id: The value to assign to the parent_resource_id property of this TunnelInspectionRule. :type parent_resource_id: str �str�intZRulePosition)�name�protocol�action�priority_order�position�parent_resource_idr r r Z priorityOrderr ZparentResourceIdN)Z swagger_typesZ attribute_map�_name� _protocol�_action�_priority_order� _position�_parent_resource_id)�self�kwargs� r �V/usr/lib/python3.9/site-packages/oci/network_firewall/models/tunnel_inspection_rule.py�__init__ s( '� � zTunnelInspectionRule.__init__c C s | d }|dkrdS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZVxlanInspectionRuler Nr )Zobject_dictionary�typer r r �get_subtype_ s z TunnelInspectionRule.get_subtypec C s | j S )z� **[Required]** Gets the name of this TunnelInspectionRule. Name for the Tunnel Inspection Rule, must be unique within the policy. :return: The name of this TunnelInspectionRule. :rtype: str �r �r r r r r l s zTunnelInspectionRule.namec C s || _ dS )z� Sets the name of this TunnelInspectionRule. Name for the Tunnel Inspection Rule, must be unique within the policy. :param name: The name of this TunnelInspectionRule. :type: str Nr )r r r r r r x s c C s | j S )a� **[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'. :return: The protocol of this TunnelInspectionRule. :rtype: str )r r r r r r � s zTunnelInspectionRule.protocolc C s dg}t ||�sd}|| _dS )a: Sets 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. :param protocol: The protocol of this TunnelInspectionRule. :type: str r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r � s c C s | j S )a 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'. :return: The action of this TunnelInspectionRule. :rtype: str )r r r r r r � s zTunnelInspectionRule.actionc C s ddg}t ||�sd}|| _dS )aE Sets 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. :param action: The action of this TunnelInspectionRule. :type: str r r r! N)r r )r r r"