ruạṛ
a ���f�B � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DatabaseInsight� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zdd � Zd!d"� Zd#d$� Zd%S )&�AutonomousDatabaseInsightz$ Database insight resource. c K s dddddddddddddddddddddddd d �| _ ddd ddddddddddddddddddd d!d"d �| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _ d#| _ d#| _d#| _d#| _ d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d$| _d#S )%a� Initializes a new AutonomousDatabaseInsight object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.AutonomousDatabaseInsight.entity_source` attribute of this class is ``AUTONOMOUS_DATABASE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param entity_source: The value to assign to the entity_source property of this AutonomousDatabaseInsight. Allowed values for this property are: "AUTONOMOUS_DATABASE", "EM_MANAGED_EXTERNAL_DATABASE", "MACS_MANAGED_EXTERNAL_DATABASE", "PE_COMANAGED_DATABASE", "MDS_MYSQL_DATABASE_SYSTEM" :type entity_source: str :param id: The value to assign to the id property of this AutonomousDatabaseInsight. :type id: str :param compartment_id: The value to assign to the compartment_id property of this AutonomousDatabaseInsight. :type compartment_id: str :param status: The value to assign to the status property of this AutonomousDatabaseInsight. Allowed values for this property are: "DISABLED", "ENABLED", "TERMINATED" :type status: str :param database_type: The value to assign to the database_type property of this AutonomousDatabaseInsight. :type database_type: str :param database_version: The value to assign to the database_version property of this AutonomousDatabaseInsight. :type database_version: str :param processor_count: The value to assign to the processor_count property of this AutonomousDatabaseInsight. :type processor_count: int :param freeform_tags: The value to assign to the freeform_tags property of this AutonomousDatabaseInsight. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this AutonomousDatabaseInsight. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this AutonomousDatabaseInsight. :type system_tags: dict(str, dict(str, object)) :param time_created: The value to assign to the time_created property of this AutonomousDatabaseInsight. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this AutonomousDatabaseInsight. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this AutonomousDatabaseInsight. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION" :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this AutonomousDatabaseInsight. :type lifecycle_details: str :param database_connection_status_details: The value to assign to the database_connection_status_details property of this AutonomousDatabaseInsight. :type database_connection_status_details: str :param database_id: The value to assign to the database_id property of this AutonomousDatabaseInsight. :type database_id: str :param database_name: The value to assign to the database_name property of this AutonomousDatabaseInsight. :type database_name: str :param database_display_name: The value to assign to the database_display_name property of this AutonomousDatabaseInsight. :type database_display_name: str :param database_resource_type: The value to assign to the database_resource_type property of this AutonomousDatabaseInsight. :type database_resource_type: str :param db_additional_details: The value to assign to the db_additional_details property of this AutonomousDatabaseInsight. :type db_additional_details: object :param opsi_private_endpoint_id: The value to assign to the opsi_private_endpoint_id property of this AutonomousDatabaseInsight. :type opsi_private_endpoint_id: str :param is_advanced_features_enabled: The value to assign to the is_advanced_features_enabled property of this AutonomousDatabaseInsight. :type is_advanced_features_enabled: bool :param connection_details: The value to assign to the connection_details property of this AutonomousDatabaseInsight. :type connection_details: oci.opsi.models.ConnectionDetails :param credential_details: The value to assign to the credential_details property of this AutonomousDatabaseInsight. :type credential_details: oci.opsi.models.CredentialDetails �str�intzdict(str, str)zdict(str, dict(str, object))Zdatetime�object�boolZConnectionDetailsZCredentialDetails)Z entity_source�idZcompartment_id�statusZ database_typeZdatabase_versionZprocessor_countZ freeform_tagsZdefined_tagsZsystem_tagsZtime_createdZtime_updatedZlifecycle_stateZlifecycle_detailsZ"database_connection_status_details�database_id� database_name�database_display_name�database_resource_type�db_additional_details�opsi_private_endpoint_id�is_advanced_features_enabled�connection_details�credential_detailsZentitySourcer Z compartmentIdr ZdatabaseTypeZdatabaseVersionZprocessorCountZfreeformTagsZdefinedTagsZ systemTagsZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZdatabaseConnectionStatusDetailsZ databaseIdZdatabaseNameZdatabaseDisplayNameZdatabaseResourceTypeZdbAdditionalDetailsZopsiPrivateEndpointIdZisAdvancedFeaturesEnabledZconnectionDetailsZcredentialDetailsNZAUTONOMOUS_DATABASE)Z swagger_typesZ attribute_mapZ_entity_sourceZ_idZ_compartment_idZ_statusZ_database_typeZ_database_versionZ_processor_countZ_freeform_tagsZ _defined_tagsZ_system_tagsZ _time_createdZ _time_updatedZ_lifecycle_stateZ_lifecycle_detailsZ#_database_connection_status_details�_database_id�_database_name�_database_display_name�_database_resource_type�_db_additional_details�_opsi_private_endpoint_id�_is_advanced_features_enabled�_connection_details�_credential_details)�self�kwargs� r# �O/usr/lib/python3.9/site-packages/oci/opsi/models/autonomous_database_insight.py�__init__ s� k��z"AutonomousDatabaseInsight.__init__c C s | j S )a0 **[Required]** Gets the database_id of this AutonomousDatabaseInsight. The `OCID`__ of the database. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The database_id of this AutonomousDatabaseInsight. :rtype: str �r �r! r# r# r$ r � s z%AutonomousDatabaseInsight.database_idc C s || _ dS )a+ Sets the database_id of this AutonomousDatabaseInsight. The `OCID`__ of the database. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param database_id: The database_id of this AutonomousDatabaseInsight. :type: str Nr&