ruạṛ
a ���f�o � @ 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 @ sl 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'dMdN� Z(dOdP� Z)dQdR� Z*dSS )T�ExternalNonContainerDatabasez4 an external Oracle non-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� ddddddddddddddddddddd�| _ d d ddd dddddddddddddddd�| _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 ExternalNonContainerDatabase object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param operations_insights_config: The value to assign to the operations_insights_config property of this ExternalNonContainerDatabase. :type operations_insights_config: oci.database.models.OperationsInsightsConfig :param compartment_id: The value to assign to the compartment_id property of this ExternalNonContainerDatabase. :type compartment_id: str :param freeform_tags: The value to assign to the freeform_tags property of this ExternalNonContainerDatabase. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ExternalNonContainerDatabase. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this ExternalNonContainerDatabase. :type display_name: str :param id: The value to assign to the id property of this ExternalNonContainerDatabase. :type id: str :param lifecycle_details: The value to assign to the lifecycle_details property of this ExternalNonContainerDatabase. :type lifecycle_details: str :param lifecycle_state: The value to assign to the lifecycle_state property of this ExternalNonContainerDatabase. 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 ExternalNonContainerDatabase. :type time_created: datetime :param db_unique_name: The value to assign to the db_unique_name property of this ExternalNonContainerDatabase. :type db_unique_name: str :param db_id: The value to assign to the db_id property of this ExternalNonContainerDatabase. :type db_id: str :param database_version: The value to assign to the database_version property of this ExternalNonContainerDatabase. :type database_version: str :param database_edition: The value to assign to the database_edition property of this ExternalNonContainerDatabase. 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 ExternalNonContainerDatabase. :type time_zone: str :param character_set: The value to assign to the character_set property of this ExternalNonContainerDatabase. :type character_set: str :param ncharacter_set: The value to assign to the ncharacter_set property of this ExternalNonContainerDatabase. :type ncharacter_set: str :param db_packs: The value to assign to the db_packs property of this ExternalNonContainerDatabase. :type db_packs: str :param database_configuration: The value to assign to the database_configuration property of this ExternalNonContainerDatabase. 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 ExternalNonContainerDatabase. :type database_management_config: oci.database.models.DatabaseManagementConfig :param stack_monitoring_config: The value to assign to the stack_monitoring_config property of this ExternalNonContainerDatabase. :type stack_monitoring_config: oci.database.models.StackMonitoringConfig ZOperationsInsightsConfig�strzdict(str, str)zdict(str, dict(str, object))ZdatetimeZDatabaseManagementConfigZStackMonitoringConfig)�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_configZoperationsInsightsConfigZ compartmentIdZfreeformTagsZdefinedTagsZdisplayNamer ZlifecycleDetailsZlifecycleStateZtimeCreatedZdbUniqueNameZdbIdZdatabaseVersionZdatabaseEditionZtimeZoneZcharacterSetZ ncharacterSetZdbPacksZdatabaseConfigurationZdatabaseManagementConfigZstackMonitoringConfigN)Z swagger_typesZ attribute_map�_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? �W/usr/lib/python3.9/site-packages/oci/database/models/external_non_container_database.py�__init__F s| ]��z%ExternalNonContainerDatabase.__init__c C s | j S )z� Gets the operations_insights_config of this ExternalNonContainerDatabase. :return: The operations_insights_config of this ExternalNonContainerDatabase. :rtype: oci.database.models.OperationsInsightsConfig �r) �r= r? r? r@ r � s z7ExternalNonContainerDatabase.operations_insights_configc C s || _ dS )a Sets the operations_insights_config of this ExternalNonContainerDatabase. :param operations_insights_config: The operations_insights_config of this ExternalNonContainerDatabase. :type: oci.database.models.OperationsInsightsConfig NrB )r= r r? r? r@ r � s c C s | j S )a: **[Required]** Gets the compartment_id of this ExternalNonContainerDatabase. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this ExternalNonContainerDatabase. :rtype: str �r* rC r? r? r@ r � s z+ExternalNonContainerDatabase.compartment_idc C s || _ dS )a8 Sets the compartment_id of this ExternalNonContainerDatabase. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this ExternalNonContainerDatabase. :type: str NrD )r= r r? r? r@ r s c C s | j S )a� Gets the freeform_tags of this ExternalNonContainerDatabase. 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 ExternalNonContainerDatabase. :rtype: dict(str, str) �r+ rC r? r? r@ r s z*ExternalNonContainerDatabase.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this ExternalNonContainerDatabase. 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 ExternalNonContainerDatabase. :type: dict(str, str) NrE )r= r r? r? r@ r & s c C s | j S )a� Gets the defined_tags of this ExternalNonContainerDatabase. 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 ExternalNonContainerDatabase. :rtype: dict(str, dict(str, object)) �r, rC r? r? r@ r 7 s z)ExternalNonContainerDatabase.defined_tagsc C s || _ dS )a� Sets the defined_tags of this ExternalNonContainerDatabase. 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 ExternalNonContainerDatabase. :type: dict(str, dict(str, object)) NrF )r= r r? r? r@ r F s c C s | j S )a **[Required]** Gets the display_name of this ExternalNonContainerDatabase. The user-friendly name for the external database. The name does not have to be unique. :return: The display_name of this ExternalNonContainerDatabase. :rtype: str �r- rC r? r? r@ r U s z)ExternalNonContainerDatabase.display_namec C s || _ dS )a Sets the display_name of this ExternalNonContainerDatabase. The user-friendly name for the external database. The name does not have to be unique. :param display_name: The display_name of this ExternalNonContainerDatabase. :type: str NrG )r= r r? r? r@ r a s c C s | j S )aM **[Required]** Gets the id of this ExternalNonContainerDatabase. 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 ExternalNonContainerDatabase. :rtype: str �r. rC r? r? r@ r m s zExternalNonContainerDatabase.idc C s || _ dS )a? Sets the id of this ExternalNonContainerDatabase. 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 ExternalNonContainerDatabase. :type: str NrH )r= r r? r? r@ r { s c C s | j S )z� Gets the lifecycle_details of this ExternalNonContainerDatabase. Additional information about the current lifecycle state. :return: The lifecycle_details of this ExternalNonContainerDatabase. :rtype: str �r/ rC r? r? r@ r � s z.ExternalNonContainerDatabase.lifecycle_detailsc C s || _ dS )a Sets the lifecycle_details of this ExternalNonContainerDatabase. Additional information about the current lifecycle state. :param lifecycle_details: The lifecycle_details of this ExternalNonContainerDatabase. :type: str NrI )r= r r? r? r@ r � s c C s | j S )a **[Required]** Gets the lifecycle_state of this ExternalNonContainerDatabase. 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 ExternalNonContainerDatabase. :rtype: str )r0 rC r? r? r@ r � s z,ExternalNonContainerDatabase.lifecycle_statec C s g d�}t ||�sd}|| _dS )a Sets the lifecycle_state of this ExternalNonContainerDatabase. The current state of the Oracle Cloud Infrastructure external database resource. :param lifecycle_state: The lifecycle_state of this ExternalNonContainerDatabase. :type: str )r r r r r r r �UNKNOWN_ENUM_VALUEN)r r0 )r= r �allowed_valuesr? r? r@ r � s c C s | j S )z� **[Required]** Gets the time_created of this ExternalNonContainerDatabase. The date and time the database was created. :return: The time_created of this ExternalNonContainerDatabase. :rtype: datetime �r1 rC r? r? r@ r � s z)ExternalNonContainerDatabase.time_createdc C s || _ dS )z� Sets the time_created of this ExternalNonContainerDatabase. The date and time the database was created. :param time_created: The time_created of this ExternalNonContainerDatabase. :type: datetime NrL )r= r r? r? r@ r � s c C s | j S )z� Gets the db_unique_name of this ExternalNonContainerDatabase. The `DB_UNIQUE_NAME` of the external database. :return: The db_unique_name of this ExternalNonContainerDatabase. :rtype: str �r2 rC r? r? r@ r � s z+ExternalNonContainerDatabase.db_unique_namec C s || _ dS )z� Sets the db_unique_name of this ExternalNonContainerDatabase. The `DB_UNIQUE_NAME` of the external database. :param db_unique_name: The db_unique_name of this ExternalNonContainerDatabase. :type: str NrM )r= r r? r? r@ r � s c C s | j S )a Gets the db_id of this ExternalNonContainerDatabase. The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud. :return: The db_id of this ExternalNonContainerDatabase. :rtype: str �r3 rC r? r? r@ r � s z"ExternalNonContainerDatabase.db_idc C s || _ dS )a Sets the db_id of this ExternalNonContainerDatabase. The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud. :param db_id: The db_id of this ExternalNonContainerDatabase. :type: str NrN )r= r r? r? r@ r � s c C s | j S )z� Gets the database_version of this ExternalNonContainerDatabase. The Oracle Database version. :return: The database_version of this ExternalNonContainerDatabase. :rtype: str �r4 rC r? r? r@ r s z-ExternalNonContainerDatabase.database_versionc C s || _ dS )z� Sets the database_version of this ExternalNonContainerDatabase. The Oracle Database version. :param database_version: The database_version of this ExternalNonContainerDatabase. :type: str NrO )r= r r? r? r@ r s c C s | j S )a� Gets the database_edition of this ExternalNonContainerDatabase. The Oracle Database edition. 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'. :return: The database_edition of this ExternalNonContainerDatabase. :rtype: str )r5 rC r? r? r@ r! s z-ExternalNonContainerDatabase.database_editionc C s g d�}t ||�sd}|| _dS )z� Sets the database_edition of this ExternalNonContainerDatabase. The Oracle Database edition. :param database_edition: The database_edition of this ExternalNonContainerDatabase. :type: str )r r r r rJ N)r r5 )r= r! rK r? r? r@ r! . s c C s | j S )a� Gets the time_zone of this ExternalNonContainerDatabase. The time zone of the external database. It is a time zone offset (a character type in the format '[+|-]TZH:TZM') or a time zone region name, depending on how the time zone value was specified when the database was created / last altered. :return: The time_zone of this ExternalNonContainerDatabase. :rtype: str �r6 rC r? r? r@ r"