ruạṛ
a N��f6i � @ 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 @ sR 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&dJdK� Z'dLdM� Z(dNdO� Z)dPS )Q�ExternalContainerDatabasezk An Oracle Cloud Infrastructure resource that allows you to manage an external container 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� dddddddddddddddddddd�| _ dd d ddd dddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _dS )ad Initializes a new ExternalContainerDatabase 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 ExternalContainerDatabase. :type compartment_id: str :param freeform_tags: The value to assign to the freeform_tags property of this ExternalContainerDatabase. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ExternalContainerDatabase. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this ExternalContainerDatabase. :type display_name: str :param id: The value to assign to the id property of this ExternalContainerDatabase. :type id: str :param lifecycle_details: The value to assign to the lifecycle_details property of this ExternalContainerDatabase. :type lifecycle_details: str :param lifecycle_state: The value to assign to the lifecycle_state property of this ExternalContainerDatabase. 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 ExternalContainerDatabase. :type time_created: datetime :param db_unique_name: The value to assign to the db_unique_name property of this ExternalContainerDatabase. :type db_unique_name: str :param db_id: The value to assign to the db_id property of this ExternalContainerDatabase. :type db_id: str :param database_version: The value to assign to the database_version property of this ExternalContainerDatabase. :type database_version: str :param database_edition: The value to assign to the database_edition property of this ExternalContainerDatabase. 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 ExternalContainerDatabase. :type time_zone: str :param character_set: The value to assign to the character_set property of this ExternalContainerDatabase. :type character_set: str :param ncharacter_set: The value to assign to the ncharacter_set property of this ExternalContainerDatabase. :type ncharacter_set: str :param db_packs: The value to assign to the db_packs property of this ExternalContainerDatabase. :type db_packs: str :param database_configuration: The value to assign to the database_configuration property of this ExternalContainerDatabase. 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 ExternalContainerDatabase. :type database_management_config: oci.database.models.DatabaseManagementConfig :param stack_monitoring_config: The value to assign to the stack_monitoring_config property of this ExternalContainerDatabase. :type stack_monitoring_config: oci.database.models.StackMonitoringConfig �strzdict(str, str)zdict(str, dict(str, object))�datetime�DatabaseManagementConfig�StackMonitoringConfig)�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� compartmentId�freeformTags�definedTags�displayNamer �lifecycleDetails�lifecycleState�timeCreated�dbUniqueName�dbId�databaseVersion�databaseEdition�timeZone�characterSet� ncharacterSet�dbPacks�databaseConfiguration�databaseManagementConfig�stackMonitoringConfigN)� swagger_types� attribute_map�_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� rT ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/external_container_database.py�__init__D sv Y��z"ExternalContainerDatabase.__init__c C s | j S )a4 **[Required]** Gets the compartment_id of this ExternalContainerDatabase. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this ExternalContainerDatabase. :rtype: str �r? �rR rT rT rU r � s z(ExternalContainerDatabase.compartment_idc C s || _ dS )a2 Sets the compartment_id of this ExternalContainerDatabase. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this ExternalContainerDatabase. :type: str NrW )rR r rT rT rU r � s c C s | j S )a� Gets the freeform_tags of this ExternalContainerDatabase. 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 ExternalContainerDatabase. :rtype: dict(str, str) �r@ rX rT rT rU r � s z'ExternalContainerDatabase.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this ExternalContainerDatabase. 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 ExternalContainerDatabase. :type: dict(str, str) NrY )rR r rT rT rU r s c C s | j S )a� Gets the defined_tags of this ExternalContainerDatabase. 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 ExternalContainerDatabase. :rtype: dict(str, dict(str, object)) �rA rX rT rT rU r s z&ExternalContainerDatabase.defined_tagsc C s || _ dS )a� Sets the defined_tags of this ExternalContainerDatabase. 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 ExternalContainerDatabase. :type: dict(str, dict(str, object)) NrZ )rR r rT rT rU r ) s c C s | j S )a **[Required]** Gets the display_name of this ExternalContainerDatabase. The user-friendly name for the external database. The name does not have to be unique. :return: The display_name of this ExternalContainerDatabase. :rtype: str �rB rX rT rT rU r 8 s z&ExternalContainerDatabase.display_namec C s || _ dS )a Sets the display_name of this ExternalContainerDatabase. The user-friendly name for the external database. The name does not have to be unique. :param display_name: The display_name of this ExternalContainerDatabase. :type: str Nr[ )rR r rT rT rU r D s c C s | j S )aG **[Required]** Gets the id of this ExternalContainerDatabase. 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 ExternalContainerDatabase. :rtype: str �rC rX rT rT rU r P s zExternalContainerDatabase.idc C s || _ dS )a9 Sets the id of this ExternalContainerDatabase. 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 ExternalContainerDatabase. :type: str Nr\ )rR r rT rT rU r ^ s c C s | j S )z� Gets the lifecycle_details of this ExternalContainerDatabase. Additional information about the current lifecycle state. :return: The lifecycle_details of this ExternalContainerDatabase. :rtype: str �rD rX rT rT rU r l s z+ExternalContainerDatabase.lifecycle_detailsc C s || _ dS )a Sets the lifecycle_details of this ExternalContainerDatabase. Additional information about the current lifecycle state. :param lifecycle_details: The lifecycle_details of this ExternalContainerDatabase. :type: str Nr] )rR r rT rT rU r x s c C s | j S )a **[Required]** Gets the lifecycle_state of this ExternalContainerDatabase. 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 ExternalContainerDatabase. :rtype: str )rE rX rT rT rU r � s z)ExternalContainerDatabase.lifecycle_statec C s g d�}t ||�sd}|| _dS )a Sets the lifecycle_state of this ExternalContainerDatabase. The current state of the Oracle Cloud Infrastructure external database resource. :param lifecycle_state: The lifecycle_state of this ExternalContainerDatabase. :type: str )r r r r r r r �UNKNOWN_ENUM_VALUEN)r rE )rR r �allowed_valuesrT rT rU r � s c C s | j S )z� **[Required]** Gets the time_created of this ExternalContainerDatabase. The date and time the database was created. :return: The time_created of this ExternalContainerDatabase. :rtype: datetime �rF rX rT rT rU r � s z&ExternalContainerDatabase.time_createdc C s || _ dS )z� Sets the time_created of this ExternalContainerDatabase. The date and time the database was created. :param time_created: The time_created of this ExternalContainerDatabase. :type: datetime Nr` )rR r rT rT rU r � s c C s | j S )z� Gets the db_unique_name of this ExternalContainerDatabase. The `DB_UNIQUE_NAME` of the external database. :return: The db_unique_name of this ExternalContainerDatabase. :rtype: str �rG rX rT rT rU r � s z(ExternalContainerDatabase.db_unique_namec C s || _ dS )z� Sets the db_unique_name of this ExternalContainerDatabase. The `DB_UNIQUE_NAME` of the external database. :param db_unique_name: The db_unique_name of this ExternalContainerDatabase. :type: str Nra )rR r rT rT rU r � s c C s | j S )z� Gets the db_id of this ExternalContainerDatabase. The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud. :return: The db_id of this ExternalContainerDatabase. :rtype: str �rH rX rT rT rU r! � s zExternalContainerDatabase.db_idc C s || _ dS )a Sets the db_id of this ExternalContainerDatabase. The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud. :param db_id: The db_id of this ExternalContainerDatabase. :type: str Nrb )rR r! rT rT rU r! � s c C s | j S )z� Gets the database_version of this ExternalContainerDatabase. The Oracle Database version. :return: The database_version of this ExternalContainerDatabase. :rtype: str �rI rX rT rT rU r"