ruạṛ
a ���fca � @ 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 Zd ZdZ dZd ZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zed!d"� �Zejd#d"� �Zed$d%� �Zejd&d%� �Zed'd(� �Zejd)d(� �Zed*d+� �Zejd,d+� �Zed-d.� �Z e jd/d.� �Z ed0d1� �Z!e!jd2d1� �Z!ed3d4� �Z"e"jd5d4� �Z"ed6d7� �Z#e#jd8d7� �Z#ed9d:� �Z$e$jd;d:� �Z$ed<d=� �Z%e%jd>d=� �Z%ed?d@� �Z&e&jdAd@� �Z&dBdC� Z'dDdE� Z(dFdG� Z)dHS )I�PluggableDatabasea� A pluggable database (PDB) is portable collection of schemas, schema objects, and non-schema objects that appears to an Oracle client as a non-container database. To use a PDB, it needs to be plugged into a CDB. To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to a tenancy administrator. If you are an administrator who needs to write policies to give users access, see `Getting Started with Policies`__. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. __ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm �PROVISIONING� AVAILABLE�TERMINATING� TERMINATED�UPDATING�FAILED� RELOCATING� RELOCATED� REFRESHING�RESTORE_IN_PROGRESS�RESTORE_FAILED�BACKUP_IN_PROGRESS�DISABLED� READ_ONLY� READ_WRITE�MOUNTED�MIGRATEc K s� ddddddddddddddd d �| _ ddd ddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )a� Initializes a new PluggableDatabase object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this PluggableDatabase. :type id: str :param container_database_id: The value to assign to the container_database_id property of this PluggableDatabase. :type container_database_id: str :param pdb_name: The value to assign to the pdb_name property of this PluggableDatabase. :type pdb_name: str :param lifecycle_state: The value to assign to the lifecycle_state property of this PluggableDatabase. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "UPDATING", "FAILED", "RELOCATING", "RELOCATED", "REFRESHING", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "DISABLED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this PluggableDatabase. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this PluggableDatabase. :type time_created: datetime :param connection_strings: The value to assign to the connection_strings property of this PluggableDatabase. :type connection_strings: oci.database.models.PluggableDatabaseConnectionStrings :param open_mode: The value to assign to the open_mode property of this PluggableDatabase. Allowed values for this property are: "READ_ONLY", "READ_WRITE", "MOUNTED", "MIGRATE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type open_mode: str :param is_restricted: The value to assign to the is_restricted property of this PluggableDatabase. :type is_restricted: bool :param compartment_id: The value to assign to the compartment_id property of this PluggableDatabase. :type compartment_id: str :param freeform_tags: The value to assign to the freeform_tags property of this PluggableDatabase. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this PluggableDatabase. :type defined_tags: dict(str, dict(str, object)) :param pluggable_database_management_config: The value to assign to the pluggable_database_management_config property of this PluggableDatabase. :type pluggable_database_management_config: oci.database.models.PluggableDatabaseManagementConfig :param refreshable_clone_config: The value to assign to the refreshable_clone_config property of this PluggableDatabase. :type refreshable_clone_config: oci.database.models.PluggableDatabaseRefreshableCloneConfig :param pdb_node_level_details: The value to assign to the pdb_node_level_details property of this PluggableDatabase. :type pdb_node_level_details: list[oci.database.models.PluggableDatabaseNodeLevelDetails] �strZdatetimeZ"PluggableDatabaseConnectionStrings�boolzdict(str, str)zdict(str, dict(str, object))Z!PluggableDatabaseManagementConfigZ'PluggableDatabaseRefreshableCloneConfigz'list[PluggableDatabaseNodeLevelDetails])�id�container_database_id�pdb_name�lifecycle_state�lifecycle_details�time_created�connection_strings� open_mode� is_restricted�compartment_id� freeform_tags�defined_tags�$pluggable_database_management_config�refreshable_clone_config�pdb_node_level_detailsr ZcontainerDatabaseIdZpdbNameZlifecycleStateZlifecycleDetailsZtimeCreatedZconnectionStringsZopenModeZisRestrictedZ compartmentIdZfreeformTagsZdefinedTagsZ!pluggableDatabaseManagementConfigZrefreshableCloneConfigZpdbNodeLevelDetailsN)Z swagger_typesZ attribute_map�_id�_container_database_id� _pdb_name�_lifecycle_state�_lifecycle_details� _time_created�_connection_strings� _open_mode�_is_restricted�_compartment_id�_freeform_tags� _defined_tags�%_pluggable_database_management_config�_refreshable_clone_config�_pdb_node_level_details)�self�kwargs� r: �J/usr/lib/python3.9/site-packages/oci/database/models/pluggable_database.py�__init__[ s^ G��zPluggableDatabase.__init__c C s | j S )a **[Required]** Gets the id of this PluggableDatabase. The `OCID`__ of the pluggable database. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this PluggableDatabase. :rtype: str �r) �r8 r: r: r; r � s zPluggableDatabase.idc C s || _ dS )a Sets the id of this PluggableDatabase. The `OCID`__ of the pluggable database. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this PluggableDatabase. :type: str Nr= )r8 r r: r: r; r � s c C s | j S )a* **[Required]** Gets the container_database_id of this PluggableDatabase. The `OCID`__ of the CDB. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The container_database_id of this PluggableDatabase. :rtype: str �r* r>