ruạṛ
a N��f�T � @ 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 ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Zejd7d6� �Zed8d9� �Zejd:d9� �Zed;d<� �Zejd=d<� �Zd>d?� Zd@dA� Z dBdC� Z!dDS )E�PrivateEndpointz. A Data Flow private endpoint object. �CREATING�ACTIVE�INACTIVE�UPDATING�DELETING�DELETED�FAILEDc K s� dddddddddddddddddd�| _ d d ddd ddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a� Initializes a new PrivateEndpoint object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this PrivateEndpoint. :type compartment_id: str :param defined_tags: The value to assign to the defined_tags property of this PrivateEndpoint. :type defined_tags: dict(str, dict(str, object)) :param description: The value to assign to the description property of this PrivateEndpoint. :type description: str :param display_name: The value to assign to the display_name property of this PrivateEndpoint. :type display_name: str :param dns_zones: The value to assign to the dns_zones property of this PrivateEndpoint. :type dns_zones: list[str] :param freeform_tags: The value to assign to the freeform_tags property of this PrivateEndpoint. :type freeform_tags: dict(str, str) :param id: The value to assign to the id property of this PrivateEndpoint. :type id: str :param lifecycle_details: The value to assign to the lifecycle_details property of this PrivateEndpoint. :type lifecycle_details: str :param lifecycle_state: The value to assign to the lifecycle_state property of this PrivateEndpoint. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param max_host_count: The value to assign to the max_host_count property of this PrivateEndpoint. :type max_host_count: int :param nsg_ids: The value to assign to the nsg_ids property of this PrivateEndpoint. :type nsg_ids: list[str] :param owner_principal_id: The value to assign to the owner_principal_id property of this PrivateEndpoint. :type owner_principal_id: str :param owner_user_name: The value to assign to the owner_user_name property of this PrivateEndpoint. :type owner_user_name: str :param scan_details: The value to assign to the scan_details property of this PrivateEndpoint. :type scan_details: list[oci.data_flow.models.Scan] :param subnet_id: The value to assign to the subnet_id property of this PrivateEndpoint. :type subnet_id: str :param time_created: The value to assign to the time_created property of this PrivateEndpoint. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this PrivateEndpoint. :type time_updated: datetime �strzdict(str, dict(str, object))z list[str]zdict(str, str)�intz list[Scan]�datetime)�compartment_id�defined_tags�description�display_name� dns_zones� freeform_tags�id�lifecycle_details�lifecycle_state�max_host_count�nsg_ids�owner_principal_id�owner_user_name�scan_details� subnet_id�time_created�time_updated� compartmentId�definedTagsr �displayName�dnsZones�freeformTagsr �lifecycleDetails�lifecycleState�maxHostCount�nsgIds�ownerPrincipalId� ownerUserName�scanDetails�subnetId�timeCreated�timeUpdatedN)� swagger_types� attribute_map�_compartment_id� _defined_tags�_description� _display_name� _dns_zones�_freeform_tags�_id�_lifecycle_details�_lifecycle_state�_max_host_count�_nsg_ids�_owner_principal_id�_owner_user_name� _scan_details� _subnet_id� _time_created� _time_updated)�self�kwargs� rF ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_flow/models/private_endpoint.py�__init__, sj M��zPrivateEndpoint.__init__c C s | j S )z� **[Required]** Gets the compartment_id of this PrivateEndpoint. The OCID of a compartment. :return: The compartment_id of this PrivateEndpoint. :rtype: str �r3 �rD rF rF rG r � s zPrivateEndpoint.compartment_idc C s || _ dS )z� Sets the compartment_id of this PrivateEndpoint. The OCID of a compartment. :param compartment_id: The compartment_id of this PrivateEndpoint. :type: str NrI )rD r rF rF rG r � s c C s | j S )a� **[Required]** Gets the defined_tags of this PrivateEndpoint. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this PrivateEndpoint. :rtype: dict(str, dict(str, object)) �r4 rJ rF rF rG r � s zPrivateEndpoint.defined_tagsc C s || _ dS )a� Sets the defined_tags of this PrivateEndpoint. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this PrivateEndpoint. :type: dict(str, dict(str, object)) NrK )rD r rF rF rG r � s c C s | j S )z� Gets the description of this PrivateEndpoint. A user-friendly description. Avoid entering confidential information. :return: The description of this PrivateEndpoint. :rtype: str �r5 rJ rF rF rG r � s zPrivateEndpoint.descriptionc C s || _ dS )z� Sets the description of this PrivateEndpoint. A user-friendly description. Avoid entering confidential information. :param description: The description of this PrivateEndpoint. :type: str NrL )rD r rF rF rG r � s c C s | j S )a **[Required]** Gets the display_name of this PrivateEndpoint. A user-friendly name. It does not have to be unique. Avoid entering confidential information. :return: The display_name of this PrivateEndpoint. :rtype: str �r6 rJ rF rF rG r s zPrivateEndpoint.display_namec C s || _ dS )a Sets the display_name of this PrivateEndpoint. A user-friendly name. It does not have to be unique. Avoid entering confidential information. :param display_name: The display_name of this PrivateEndpoint. :type: str NrM )rD r rF rF rG r s c C s | j S )a **[Required]** Gets the dns_zones of this PrivateEndpoint. An array of DNS zone names. Example: `[ "app.examplecorp.com", "app.examplecorp2.com" ]` :return: The dns_zones of this PrivateEndpoint. :rtype: list[str] �r7 rJ rF rF rG r s zPrivateEndpoint.dns_zonesc C s || _ dS )a Sets the dns_zones of this PrivateEndpoint. An array of DNS zone names. Example: `[ "app.examplecorp.com", "app.examplecorp2.com" ]` :param dns_zones: The dns_zones of this PrivateEndpoint. :type: list[str] NrN )rD r rF rF rG r % s c C s | j S )a� **[Required]** Gets the freeform_tags of this PrivateEndpoint. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this PrivateEndpoint. :rtype: dict(str, str) �r8 rJ rF rF rG r 2 s zPrivateEndpoint.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this PrivateEndpoint. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this PrivateEndpoint. :type: dict(str, str) NrO )rD r rF rF rG r B s c C s | j S )z� **[Required]** Gets the id of this PrivateEndpoint. The OCID of a private endpoint. :return: The id of this PrivateEndpoint. :rtype: str �r9 rJ rF rF rG r R s zPrivateEndpoint.idc C s || _ dS )z� Sets the id of this PrivateEndpoint. The OCID of a private endpoint. :param id: The id of this PrivateEndpoint. :type: str NrP )rD r rF rF rG r ^ s c C s | j S )z� Gets the lifecycle_details of this PrivateEndpoint. The detailed messages about the lifecycle state. :return: The lifecycle_details of this PrivateEndpoint. :rtype: str �r: rJ rF rF rG r j s z!PrivateEndpoint.lifecycle_detailsc C s || _ dS )z� Sets the lifecycle_details of this PrivateEndpoint. The detailed messages about the lifecycle state. :param lifecycle_details: The lifecycle_details of this PrivateEndpoint. :type: str NrQ )rD r rF rF rG r v s c C s | j S )a� **[Required]** Gets the lifecycle_state of this PrivateEndpoint. The current state of this private endpoint. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this PrivateEndpoint. :rtype: str )r; rJ rF rF rG r � s zPrivateEndpoint.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this PrivateEndpoint. The current state of this private endpoint. :param lifecycle_state: The lifecycle_state of this PrivateEndpoint. :type: str )r r r r r r r �UNKNOWN_ENUM_VALUEN)r r; )rD r �allowed_valuesrF rF rG r � s c C s | j S )a� Gets the max_host_count of this PrivateEndpoint. The maximum number of hosts to be accessed through the private endpoint. This value is used to calculate the relevant CIDR block and should be a multiple of 256. If the value is not a multiple of 256, it is rounded up to the next multiple of 256. For example, 300 is rounded up to 512. :return: The max_host_count of this PrivateEndpoint. :rtype: int �r<