ruạṛ
a O��f,? � @ 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 )&�PeComanagedDatabaseInsightz$ Database insight resource. c K s ddddddddddddddddddddddddd�| _ d 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!S )#aA Initializes a new PeComanagedDatabaseInsight object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.PeComanagedDatabaseInsight.entity_source` attribute of this class is ``PE_COMANAGED_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 PeComanagedDatabaseInsight. Allowed values for this property are: "AUTONOMOUS_DATABASE", "EM_MANAGED_EXTERNAL_DATABASE", "MACS_MANAGED_EXTERNAL_DATABASE", "PE_COMANAGED_DATABASE" :type entity_source: str :param id: The value to assign to the id property of this PeComanagedDatabaseInsight. :type id: str :param compartment_id: The value to assign to the compartment_id property of this PeComanagedDatabaseInsight. :type compartment_id: str :param status: The value to assign to the status property of this PeComanagedDatabaseInsight. 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 PeComanagedDatabaseInsight. :type database_type: str :param database_version: The value to assign to the database_version property of this PeComanagedDatabaseInsight. :type database_version: str :param processor_count: The value to assign to the processor_count property of this PeComanagedDatabaseInsight. :type processor_count: int :param freeform_tags: The value to assign to the freeform_tags property of this PeComanagedDatabaseInsight. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this PeComanagedDatabaseInsight. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this PeComanagedDatabaseInsight. :type system_tags: dict(str, dict(str, object)) :param time_created: The value to assign to the time_created property of this PeComanagedDatabaseInsight. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this PeComanagedDatabaseInsight. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this PeComanagedDatabaseInsight. 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 PeComanagedDatabaseInsight. :type lifecycle_details: str :param database_connection_status_details: The value to assign to the database_connection_status_details property of this PeComanagedDatabaseInsight. :type database_connection_status_details: str :param opsi_private_endpoint_id: The value to assign to the opsi_private_endpoint_id property of this PeComanagedDatabaseInsight. :type opsi_private_endpoint_id: str :param connection_details: The value to assign to the connection_details property of this PeComanagedDatabaseInsight. :type connection_details: oci.opsi.models.PeComanagedDatabaseConnectionDetails :param credential_details: The value to assign to the credential_details property of this PeComanagedDatabaseInsight. :type credential_details: oci.opsi.models.CredentialDetails :param database_id: The value to assign to the database_id property of this PeComanagedDatabaseInsight. :type database_id: str :param database_name: The value to assign to the database_name property of this PeComanagedDatabaseInsight. :type database_name: str :param database_display_name: The value to assign to the database_display_name property of this PeComanagedDatabaseInsight. :type database_display_name: str :param database_resource_type: The value to assign to the database_resource_type property of this PeComanagedDatabaseInsight. :type database_resource_type: str :param parent_id: The value to assign to the parent_id property of this PeComanagedDatabaseInsight. :type parent_id: str :param root_id: The value to assign to the root_id property of this PeComanagedDatabaseInsight. :type root_id: str �str�intzdict(str, str)zdict(str, dict(str, object))�datetime�$PeComanagedDatabaseConnectionDetails�CredentialDetails)� 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�opsi_private_endpoint_id�connection_details�credential_details�database_id� database_name�database_display_name�database_resource_type� parent_id�root_id�entitySourcer � compartmentIdr �databaseType�databaseVersion�processorCount�freeformTags�definedTags� systemTags�timeCreated�timeUpdated�lifecycleState�lifecycleDetails�databaseConnectionStatusDetails�opsiPrivateEndpointId�connectionDetails�credentialDetails� databaseId�databaseName�databaseDisplayName�databaseResourceType�parentId�rootIdN�PE_COMANAGED_DATABASE)� swagger_types� 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�_opsi_private_endpoint_id�_connection_details�_credential_details�_database_id�_database_name�_database_display_name�_database_resource_type� _parent_id�_root_id)�self�kwargs� rY ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/opsi/models/pe_comanaged_database_insight.py�__init__ s� k��z#PeComanagedDatabaseInsight.__init__c C s | j S )aI Gets the opsi_private_endpoint_id of this PeComanagedDatabaseInsight. The `OCID`__ of the OPSI private endpoint __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The opsi_private_endpoint_id of this PeComanagedDatabaseInsight. :rtype: str �rN �rW rY rY rZ r � s z3PeComanagedDatabaseInsight.opsi_private_endpoint_idc C s || _ dS )a` Sets the opsi_private_endpoint_id of this PeComanagedDatabaseInsight. The `OCID`__ of the OPSI private endpoint __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param opsi_private_endpoint_id: The opsi_private_endpoint_id of this PeComanagedDatabaseInsight. :type: str Nr\ )rW r rY rY rZ r � s c C s | j S )z� Gets the connection_details of this PeComanagedDatabaseInsight. :return: The connection_details of this PeComanagedDatabaseInsight. :rtype: oci.opsi.models.PeComanagedDatabaseConnectionDetails �rO r] rY rY rZ r � s z-PeComanagedDatabaseInsight.connection_detailsc C s || _ dS )z� Sets the connection_details of this PeComanagedDatabaseInsight. :param connection_details: The connection_details of this PeComanagedDatabaseInsight. :type: oci.opsi.models.PeComanagedDatabaseConnectionDetails Nr^ )rW r rY rY rZ r � s c C s | j S )z� Gets the credential_details of this PeComanagedDatabaseInsight. :return: The credential_details of this PeComanagedDatabaseInsight. :rtype: oci.opsi.models.CredentialDetails �rP r] rY rY rZ r � s z-PeComanagedDatabaseInsight.credential_detailsc C s || _ dS )z� Sets the credential_details of this PeComanagedDatabaseInsight. :param credential_details: The credential_details of this PeComanagedDatabaseInsight. :type: oci.opsi.models.CredentialDetails Nr_ )rW r rY rY rZ r s c C s | j S )a2 **[Required]** Gets the database_id of this PeComanagedDatabaseInsight. The `OCID`__ of the database. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The database_id of this PeComanagedDatabaseInsight. :rtype: str �rQ r] rY rY rZ r s z&PeComanagedDatabaseInsight.database_idc C s || _ dS )a- Sets the database_id of this PeComanagedDatabaseInsight. The `OCID`__ of the database. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param database_id: The database_id of this PeComanagedDatabaseInsight. :type: str Nr` )rW r rY rY rZ r s c C s | j S )z� **[Required]** Gets the database_name of this PeComanagedDatabaseInsight. Name of database :return: The database_name of this PeComanagedDatabaseInsight. :rtype: str �rR r] rY rY rZ r! * s z(PeComanagedDatabaseInsight.database_namec C s || _ dS )z� Sets the database_name of this PeComanagedDatabaseInsight. Name of database :param database_name: The database_name of this PeComanagedDatabaseInsight. :type: str Nra )rW r! rY rY rZ r! 6 s c C s | j S )z� Gets the database_display_name of this PeComanagedDatabaseInsight. Display name of database :return: The database_display_name of this PeComanagedDatabaseInsight. :rtype: str �rS r] rY rY rZ r"