ruạṛ
a N��fFy � @ 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 ZdZdd� 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� �Z e jd7d6� �Z ed8d9� �Z!e!jd:d9� �Z!ed;d<� �Z"e"jd=d<� �Z"ed>d?� �Z#e#jd@d?� �Z#edAdB� �Z$e$jdCdB� �Z$edDdE� �Z%e%jdFdE� �Z%edGdH� �Z&e&jdIdH� �Z&edJdK� �Z'e'jdLdK� �Z'edMdN� �Z(e(jdOdN� �Z(edPdQ� �Z)e)jdRdQ� �Z)dSdT� Z*dUdV� Z+dWdX� Z,dYS )Z�ExternalPluggableDatabasez0 an external Oracle pluggable database. �PROVISIONING� NOT_CONNECTED� AVAILABLE�UPDATING�TERMINATING� TERMINATED�FAILED�STANDARD_EDITION�ENTERPRISE_EDITION�#ENTERPRISE_EDITION_HIGH_PERFORMANCE�&ENTERPRISE_EDITION_EXTREME_PERFORMANCE�RAC�SINGLE_INSTANCEc K s� ddddddddddddddddddddddd�| _ d d ddd dddddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _dS ) a� Initializes a new ExternalPluggableDatabase object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param source_id: The value to assign to the source_id property of this ExternalPluggableDatabase. :type source_id: str :param external_container_database_id: The value to assign to the external_container_database_id property of this ExternalPluggableDatabase. :type external_container_database_id: str :param operations_insights_config: The value to assign to the operations_insights_config property of this ExternalPluggableDatabase. :type operations_insights_config: oci.database.models.OperationsInsightsConfig :param compartment_id: The value to assign to the compartment_id property of this ExternalPluggableDatabase. :type compartment_id: str :param freeform_tags: The value to assign to the freeform_tags property of this ExternalPluggableDatabase. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ExternalPluggableDatabase. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this ExternalPluggableDatabase. :type display_name: str :param id: The value to assign to the id property of this ExternalPluggableDatabase. :type id: str :param lifecycle_details: The value to assign to the lifecycle_details property of this ExternalPluggableDatabase. :type lifecycle_details: str :param lifecycle_state: The value to assign to the lifecycle_state property of this ExternalPluggableDatabase. Allowed values for this property are: "PROVISIONING", "NOT_CONNECTED", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param time_created: The value to assign to the time_created property of this ExternalPluggableDatabase. :type time_created: datetime :param db_unique_name: The value to assign to the db_unique_name property of this ExternalPluggableDatabase. :type db_unique_name: str :param db_id: The value to assign to the db_id property of this ExternalPluggableDatabase. :type db_id: str :param database_version: The value to assign to the database_version property of this ExternalPluggableDatabase. :type database_version: str :param database_edition: The value to assign to the database_edition property of this ExternalPluggableDatabase. Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type database_edition: str :param time_zone: The value to assign to the time_zone property of this ExternalPluggableDatabase. :type time_zone: str :param character_set: The value to assign to the character_set property of this ExternalPluggableDatabase. :type character_set: str :param ncharacter_set: The value to assign to the ncharacter_set property of this ExternalPluggableDatabase. :type ncharacter_set: str :param db_packs: The value to assign to the db_packs property of this ExternalPluggableDatabase. :type db_packs: str :param database_configuration: The value to assign to the database_configuration property of this ExternalPluggableDatabase. Allowed values for this property are: "RAC", "SINGLE_INSTANCE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type database_configuration: str :param database_management_config: The value to assign to the database_management_config property of this ExternalPluggableDatabase. :type database_management_config: oci.database.models.DatabaseManagementConfig :param stack_monitoring_config: The value to assign to the stack_monitoring_config property of this ExternalPluggableDatabase. :type stack_monitoring_config: oci.database.models.StackMonitoringConfig �str�OperationsInsightsConfigzdict(str, str)zdict(str, dict(str, object))�datetime�DatabaseManagementConfig�StackMonitoringConfig)� source_id�external_container_database_id�operations_insights_config�compartment_id� freeform_tags�defined_tags�display_name�id�lifecycle_details�lifecycle_state�time_created�db_unique_name�db_id�database_version�database_edition� time_zone� character_set�ncharacter_set�db_packs�database_configuration�database_management_config�stack_monitoring_config�sourceId�externalContainerDatabaseId�operationsInsightsConfig� compartmentId�freeformTags�definedTags�displayNamer �lifecycleDetails�lifecycleState�timeCreated�dbUniqueName�dbId�databaseVersion�databaseEdition�timeZone�characterSet� ncharacterSet�dbPacks�databaseConfiguration�databaseManagementConfig�stackMonitoringConfigN)� swagger_types� attribute_map� _source_id�_external_container_database_id�_operations_insights_config�_compartment_id�_freeform_tags� _defined_tags� _display_name�_id�_lifecycle_details�_lifecycle_state� _time_created�_db_unique_name�_db_id�_database_version�_database_edition� _time_zone�_character_set�_ncharacter_set� _db_packs�_database_configuration�_database_management_config�_stack_monitoring_config)�self�kwargs� r^ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/external_pluggable_database.py�__init__D s� e��z"ExternalPluggableDatabase.__init__c C s | j S )az Gets the source_id of this ExternalPluggableDatabase. The `OCID`__ of the the non-container database that was converted to a pluggable database to create this resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The source_id of this ExternalPluggableDatabase. :rtype: str �rF �r\ r^ r^ r_ r � s z#ExternalPluggableDatabase.source_idc C s || _ dS )a� Sets the source_id of this ExternalPluggableDatabase. The `OCID`__ of the the non-container database that was converted to a pluggable database to create this resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param source_id: The source_id of this ExternalPluggableDatabase. :type: str Nra )r\ r r^ r^ r_ r s c C s | j S )a� **[Required]** Gets the external_container_database_id of this ExternalPluggableDatabase. The `OCID`__ of the :func:`create_external_container_database_details` that contains the specified :func:`create_external_pluggable_database_details` resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The external_container_database_id of this ExternalPluggableDatabase. :rtype: str �rG rb r^ r^ r_ r s z8ExternalPluggableDatabase.external_container_database_idc C s || _ dS )a� Sets the external_container_database_id of this ExternalPluggableDatabase. The `OCID`__ of the :func:`create_external_container_database_details` that contains the specified :func:`create_external_pluggable_database_details` resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param external_container_database_id: The external_container_database_id of this ExternalPluggableDatabase. :type: str Nrc )r\ r r^ r^ r_ r s c C s | j S )z� Gets the operations_insights_config of this ExternalPluggableDatabase. :return: The operations_insights_config of this ExternalPluggableDatabase. :rtype: oci.database.models.OperationsInsightsConfig �rH rb r^ r^ r_ r / s z4ExternalPluggableDatabase.operations_insights_configc C s || _ dS )a Sets the operations_insights_config of this ExternalPluggableDatabase. :param operations_insights_config: The operations_insights_config of this ExternalPluggableDatabase. :type: oci.database.models.OperationsInsightsConfig Nrd )r\ r r^ r^ r_ r 9 s c C s | j S )a4 **[Required]** Gets the compartment_id of this ExternalPluggableDatabase. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this ExternalPluggableDatabase. :rtype: str �rI rb r^ r^ r_ r C s z(ExternalPluggableDatabase.compartment_idc C s || _ dS )a2 Sets the compartment_id of this ExternalPluggableDatabase. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this ExternalPluggableDatabase. :type: str Nre )r\ r r^ r^ r_ r Q s c C s | j S )a� Gets the freeform_tags of this ExternalPluggableDatabase. 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/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this ExternalPluggableDatabase. :rtype: dict(str, str) �rJ rb r^ r^ r_ r _ s z'ExternalPluggableDatabase.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this ExternalPluggableDatabase. 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/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this ExternalPluggableDatabase. :type: dict(str, str) Nrf )r\ r r^ r^ r_ r p s c C s | j S )a� Gets the defined_tags of this ExternalPluggableDatabase. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this ExternalPluggableDatabase. :rtype: dict(str, dict(str, object)) �rK rb r^ r^ r_ r � s z&ExternalPluggableDatabase.defined_tagsc C s || _ dS )a� Sets the defined_tags of this ExternalPluggableDatabase. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this ExternalPluggableDatabase. :type: dict(str, dict(str, object)) Nrg )r\ r r^ r^ r_ r � s c C s | j S )a **[Required]** Gets the display_name of this ExternalPluggableDatabase. The user-friendly name for the external database. The name does not have to be unique. :return: The display_name of this ExternalPluggableDatabase. :rtype: str �rL rb r^ r^ r_ r � s z&ExternalPluggableDatabase.display_namec C s || _ dS )a Sets the display_name of this ExternalPluggableDatabase. The user-friendly name for the external database. The name does not have to be unique. :param display_name: The display_name of this ExternalPluggableDatabase. :type: str Nrh )r\ r r^ r^ r_ r � s c C s | j S )aG **[Required]** Gets the id of this ExternalPluggableDatabase. The `OCID`__ of the Oracle Cloud Infrastructure external database resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this ExternalPluggableDatabase. :rtype: str �rM rb r^ r^ r_ r � s zExternalPluggableDatabase.idc C s || _ dS )a9 Sets the id of this ExternalPluggableDatabase. The `OCID`__ of the Oracle Cloud Infrastructure external database resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this ExternalPluggableDatabase. :type: str Nri )r\ r r^ r^ r_ r � s c C s | j S )z� Gets the lifecycle_details of this ExternalPluggableDatabase. Additional information about the current lifecycle state. :return: The lifecycle_details of this ExternalPluggableDatabase. :rtype: str �rN rb r^ r^ r_ r! � s z+ExternalPluggableDatabase.lifecycle_detailsc C s || _ dS )a Sets the lifecycle_details of this ExternalPluggableDatabase. Additional information about the current lifecycle state. :param lifecycle_details: The lifecycle_details of this ExternalPluggableDatabase. :type: str Nrj )r\ r! r^ r^ r_ r! � s c C s | j S )a **[Required]** Gets the lifecycle_state of this ExternalPluggableDatabase. The current state of the Oracle Cloud Infrastructure external database resource. Allowed values for this property are: "PROVISIONING", "NOT_CONNECTED", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this ExternalPluggableDatabase. :rtype: str )rO rb r^ r^ r_ r"