📂 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: egress_security_rule.cpython-39.pyc
a ���f�1 � @ 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 )%�EgressSecurityRulez2 A rule for allowing outbound IP packets. � CIDR_BLOCK�SERVICE_CIDR_BLOCKc K sd ddddddddd�| _ ddd d ddd dd�| _d| _d| _d| _d| _d| _d| _d| _d| _ dS )a� Initializes a new EgressSecurityRule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param destination: The value to assign to the destination property of this EgressSecurityRule. :type destination: str :param destination_type: The value to assign to the destination_type property of this EgressSecurityRule. 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 destination_type: str :param icmp_options: The value to assign to the icmp_options property of this EgressSecurityRule. :type icmp_options: oci.core.models.IcmpOptions :param is_stateless: The value to assign to the is_stateless property of this EgressSecurityRule. :type is_stateless: bool :param protocol: The value to assign to the protocol property of this EgressSecurityRule. :type protocol: str :param tcp_options: The value to assign to the tcp_options property of this EgressSecurityRule. :type tcp_options: oci.core.models.TcpOptions :param udp_options: The value to assign to the udp_options property of this EgressSecurityRule. :type udp_options: oci.core.models.UdpOptions :param description: The value to assign to the description property of this EgressSecurityRule. :type description: str �strZIcmpOptions�boolZ TcpOptionsZ UdpOptions)�destination�destination_type�icmp_options�is_stateless�protocol�tcp_options�udp_options�descriptionr ZdestinationTypeZicmpOptionsZisStatelessr Z tcpOptionsZ udpOptionsr N) Z swagger_typesZ attribute_map�_destination�_destination_type� _icmp_options� _is_stateless� _protocol�_tcp_options�_udp_options�_description)�self�kwargs� r �H/usr/lib/python3.9/site-packages/oci/core/models/egress_security_rule.py�__init__ s4 )��zEgressSecurityRule.__init__c C s | j S )aW **[Required]** Gets the destination of this EgressSecurityRule. Conceptually, this is the range of IP addresses that a packet originating from the instance can go to. Allowed values: * IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56` Note that IPv6 addressing is currently supported only in certain regions. See `IPv6 Addresses`__. * The `cidrBlock` value for a :class:`Service`, if you're setting up a security list rule for traffic destined for a particular `Service` through a service gateway. For example: `oci-phx-objectstorage`. __ https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm :return: The destination of this EgressSecurityRule. :rtype: str �r �r r r r r a s zEgressSecurityRule.destinationc C s || _ dS )aR Sets the destination of this EgressSecurityRule. Conceptually, this is the range of IP addresses that a packet originating from the instance can go to. Allowed values: * IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56` Note that IPv6 addressing is currently supported only in certain regions. See `IPv6 Addresses`__. * The `cidrBlock` value for a :class:`Service`, if you're setting up a security list rule for traffic destined for a particular `Service` through a service gateway. For example: `oci-phx-objectstorage`. __ https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm :param destination: The destination of this EgressSecurityRule. :type: str Nr )r r r r r r z s c C s | j S )a Gets the destination_type of this EgressSecurityRule. Type of destination for the rule. The default is `CIDR_BLOCK`. Allowed values: * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation. * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a :class:`Service` (the rule is for traffic destined for a particular `Service` through a service gateway). 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'. :return: The destination_type of this EgressSecurityRule. :rtype: str )r r! r r r r � s z#EgressSecurityRule.destination_typec C s ddg}t ||�sd}|| _dS )aN Sets the destination_type of this EgressSecurityRule. Type of destination for the rule. The default is `CIDR_BLOCK`. Allowed values: * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation. * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a :class:`Service` (the rule is for traffic destined for a particular `Service` through a service gateway). :param destination_type: The destination_type of this EgressSecurityRule. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s | j S )z� Gets the icmp_options of this EgressSecurityRule. :return: The icmp_options of this EgressSecurityRule. :rtype: oci.core.models.IcmpOptions �r r! r r r r � s zEgressSecurityRule.icmp_optionsc C s || _ dS )z� Sets the icmp_options of this EgressSecurityRule. :param icmp_options: The icmp_options of this EgressSecurityRule. :type: oci.core.models.IcmpOptions Nr"