File: //lib/python3.9/site-packages/oci/opsi/models/__pycache__/database_insight.cpython-39.opt-1.pyc
a
���f5[ � @ 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
ZdZdZdZdd� Zedd� �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�DatabaseInsightz$
Database insight resource.
�AUTONOMOUS_DATABASE�EM_MANAGED_EXTERNAL_DATABASE�MACS_MANAGED_EXTERNAL_DATABASE�PE_COMANAGED_DATABASE�MDS_MYSQL_DATABASE_SYSTEM�DISABLED�ENABLED�
TERMINATED�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILED�NEEDS_ATTENTIONc K s� dddddddddddddddd�| _ ddd d
ddd
ddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _
d| _d| _d| _
d| _d| _d| _dS )a
Initializes a new DatabaseInsight object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
to a service operations then you should favor using a subclass over the base class:
* :class:`~oci.opsi.models.EmManagedExternalDatabaseInsight`
* :class:`~oci.opsi.models.MacsManagedExternalDatabaseInsight`
* :class:`~oci.opsi.models.PeComanagedDatabaseInsight`
* :class:`~oci.opsi.models.AutonomousDatabaseInsight`
* :class:`~oci.opsi.models.MdsMySqlDatabaseInsight`
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 DatabaseInsight.
Allowed values for this property are: "AUTONOMOUS_DATABASE", "EM_MANAGED_EXTERNAL_DATABASE", "MACS_MANAGED_EXTERNAL_DATABASE", "PE_COMANAGED_DATABASE", "MDS_MYSQL_DATABASE_SYSTEM", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type entity_source: str
:param id:
The value to assign to the id property of this DatabaseInsight.
:type id: str
:param compartment_id:
The value to assign to the compartment_id property of this DatabaseInsight.
:type compartment_id: str
:param status:
The value to assign to the status property of this DatabaseInsight.
Allowed values for this property are: "DISABLED", "ENABLED", "TERMINATED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type status: str
:param database_type:
The value to assign to the database_type property of this DatabaseInsight.
:type database_type: str
:param database_version:
The value to assign to the database_version property of this DatabaseInsight.
:type database_version: str
:param processor_count:
The value to assign to the processor_count property of this DatabaseInsight.
:type processor_count: int
:param freeform_tags:
The value to assign to the freeform_tags property of this DatabaseInsight.
:type freeform_tags: dict(str, str)
:param defined_tags:
The value to assign to the defined_tags property of this DatabaseInsight.
:type defined_tags: dict(str, dict(str, object))
:param system_tags:
The value to assign to the system_tags property of this DatabaseInsight.
:type system_tags: dict(str, dict(str, object))
:param time_created:
The value to assign to the time_created property of this DatabaseInsight.
:type time_created: datetime
:param time_updated:
The value to assign to the time_updated property of this DatabaseInsight.
:type time_updated: datetime
:param lifecycle_state:
The value to assign to the lifecycle_state property of this DatabaseInsight.
Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION", '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 DatabaseInsight.
:type lifecycle_details: str
:param database_connection_status_details:
The value to assign to the database_connection_status_details property of this DatabaseInsight.
:type database_connection_status_details: str
�str�intzdict(str, str)zdict(str, dict(str, object))Zdatetime)�
entity_source�id�compartment_id�status�
database_type�database_version�processor_count�
freeform_tags�defined_tags�system_tags�time_created�time_updated�lifecycle_state�lifecycle_details�"database_connection_status_details�entitySourcer Z
compartmentIdr ZdatabaseTypeZdatabaseVersionZprocessorCountZfreeformTagsZdefinedTagsZ
systemTagsZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZdatabaseConnectionStatusDetailsN)Z
swagger_typesZ
attribute_map�_entity_source�_id�_compartment_id�_status�_database_type�_database_version�_processor_count�_freeform_tags�
_defined_tags�_system_tags�
_time_created�
_time_updated�_lifecycle_state�_lifecycle_details�#_database_connection_status_details)�self�kwargs� r9 �D/usr/lib/python3.9/site-packages/oci/opsi/models/database_insight.py�__init__N s^ Q��zDatabaseInsight.__init__c C sL | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d
krDdS dS d
S )z�
Given the hash representation of a subtype of this class,
use the info in the hash to return the class of the subtype.
r'