📂 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
›
core
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/core/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: ingress_security_rule.cpython-39.pyc
a ���f�0 � @ 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 ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zdd� Zd d!� Zd"d#� Zd$S )%�IngressSecurityRulez1 A rule for allowing inbound IP packets. � CIDR_BLOCK�SERVICE_CIDR_BLOCKc K sd ddddddddd�| _ ddd d ddd dd�| _d| _d| _d| _d| _d| _d| _d| _d| _ dS )az Initializes a new IngressSecurityRule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param icmp_options: The value to assign to the icmp_options property of this IngressSecurityRule. :type icmp_options: oci.core.models.IcmpOptions :param is_stateless: The value to assign to the is_stateless property of this IngressSecurityRule. :type is_stateless: bool :param protocol: The value to assign to the protocol property of this IngressSecurityRule. :type protocol: str :param source: The value to assign to the source property of this IngressSecurityRule. :type source: str :param source_type: The value to assign to the source_type property of this IngressSecurityRule. Allowed values for this property are: "CIDR_BLOCK", "SERVICE_CIDR_BLOCK", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type source_type: str :param tcp_options: The value to assign to the tcp_options property of this IngressSecurityRule. :type tcp_options: oci.core.models.TcpOptions :param udp_options: The value to assign to the udp_options property of this IngressSecurityRule. :type udp_options: oci.core.models.UdpOptions :param description: The value to assign to the description property of this IngressSecurityRule. :type description: str ZIcmpOptions�bool�strZ TcpOptionsZ UdpOptions)�icmp_options�is_stateless�protocol�source�source_type�tcp_options�udp_options�descriptionZicmpOptionsZisStatelessr r Z sourceTypeZ tcpOptionsZ udpOptionsr N) Z swagger_typesZ attribute_map� _icmp_options� _is_stateless� _protocol�_source�_source_type�_tcp_options�_udp_options�_description)�self�kwargs� r �I/usr/lib/python3.9/site-packages/oci/core/models/ingress_security_rule.py�__init__ s4 )��zIngressSecurityRule.__init__c C s | j S )z� Gets the icmp_options of this IngressSecurityRule. :return: The icmp_options of this IngressSecurityRule. :rtype: oci.core.models.IcmpOptions �r �r r r r r a s z IngressSecurityRule.icmp_optionsc C s || _ dS )z� Sets the icmp_options of this IngressSecurityRule. :param icmp_options: The icmp_options of this IngressSecurityRule. :type: oci.core.models.IcmpOptions Nr )r r r r r r k s c C s | j S )a] Gets the is_stateless of this IngressSecurityRule. A stateless rule allows traffic in one direction. Remember to add a corresponding stateless rule in the other direction if you need to support bidirectional traffic. For example, if ingress traffic allows TCP destination port 80, there should be an egress rule to allow TCP source port 80. Defaults to false, which means the rule is stateful and a corresponding rule is not necessary for bidirectional traffic. :return: The is_stateless of this IngressSecurityRule. :rtype: bool �r r! r r r r u s z IngressSecurityRule.is_statelessc C s || _ dS )ah Sets the is_stateless of this IngressSecurityRule. A stateless rule allows traffic in one direction. Remember to add a corresponding stateless rule in the other direction if you need to support bidirectional traffic. For example, if ingress traffic allows TCP destination port 80, there should be an egress rule to allow TCP source port 80. Defaults to false, which means the rule is stateful and a corresponding rule is not necessary for bidirectional traffic. :param is_stateless: The is_stateless of this IngressSecurityRule. :type: bool Nr"