ruạṛ
a ���fuB � @ 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 ZdZdZdZdZdZdd� Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze d d!� �Zejd"d!� �Ze d#d$� �Zejd%d$� �Ze d&d'� �Zejd(d'� �Zd)d*� Zd+d,� Zd-d.� Zd/S )0�ServiceGatewaya� Represents a router that lets your VCN privately access specific Oracle services such as Object Storage without exposing the VCN to the public internet. Traffic leaving the VCN and destined for a supported Oracle service (see :func:`list_services`) is routed through the service gateway and does not traverse the internet. The instances in the VCN do not need to have public IP addresses nor be in a public subnet. The VCN does not need an internet gateway for this traffic. For more information, see `Access to Oracle Services: Service Gateway`__. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see `Getting Started with Policies`__. __ https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/servicegateway.htm __ https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm �PROVISIONING� AVAILABLE�TERMINATING� TERMINATEDc K s� dddddddddddd�| _ dd d ddd dddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a3 Initializes a new ServiceGateway object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param block_traffic: The value to assign to the block_traffic property of this ServiceGateway. :type block_traffic: bool :param compartment_id: The value to assign to the compartment_id property of this ServiceGateway. :type compartment_id: str :param defined_tags: The value to assign to the defined_tags property of this ServiceGateway. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this ServiceGateway. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this ServiceGateway. :type freeform_tags: dict(str, str) :param id: The value to assign to the id property of this ServiceGateway. :type id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this ServiceGateway. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param route_table_id: The value to assign to the route_table_id property of this ServiceGateway. :type route_table_id: str :param services: The value to assign to the services property of this ServiceGateway. :type services: list[oci.core.models.ServiceIdResponseDetails] :param time_created: The value to assign to the time_created property of this ServiceGateway. :type time_created: datetime :param vcn_id: The value to assign to the vcn_id property of this ServiceGateway. :type vcn_id: str �bool�strzdict(str, dict(str, object))zdict(str, str)zlist[ServiceIdResponseDetails]Zdatetime)� block_traffic�compartment_id�defined_tags�display_name� freeform_tags�id�lifecycle_state�route_table_id�services�time_created�vcn_idZblockTrafficZ compartmentIdZdefinedTagsZdisplayNameZfreeformTagsr ZlifecycleStateZrouteTableIdr ZtimeCreatedZvcnIdN) Z swagger_typesZ attribute_map�_block_traffic�_compartment_id� _defined_tags� _display_name�_freeform_tags�_id�_lifecycle_state�_route_table_id� _services� _time_created�_vcn_id)�self�kwargs� r% �C/usr/lib/python3.9/site-packages/oci/core/models/service_gateway.py�__init__/ sF 5��zServiceGateway.__init__c C s | j S )at **[Required]** Gets the block_traffic of this ServiceGateway. Whether the service gateway blocks all traffic through it. The default is `false`. When this is `true`, traffic is not routed to any services, regardless of route rules. Example: `true` :return: The block_traffic of this ServiceGateway. :rtype: bool �r �r# r% r% r&