ruạṛ
a O��f�C � @ 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 )&�"MacsManagedExternalDatabaseInsightz$ Database insight resource. c K s ddddddddddddddddddddddddd �| _ 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"S )$aO Initializes a new MacsManagedExternalDatabaseInsight object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.MacsManagedExternalDatabaseInsight.entity_source` attribute of this class is ``MACS_MANAGED_EXTERNAL_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 MacsManagedExternalDatabaseInsight. 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 MacsManagedExternalDatabaseInsight. :type id: str :param compartment_id: The value to assign to the compartment_id property of this MacsManagedExternalDatabaseInsight. :type compartment_id: str :param status: The value to assign to the status property of this MacsManagedExternalDatabaseInsight. 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 MacsManagedExternalDatabaseInsight. :type database_type: str :param database_version: The value to assign to the database_version property of this MacsManagedExternalDatabaseInsight. :type database_version: str :param processor_count: The value to assign to the processor_count property of this MacsManagedExternalDatabaseInsight. :type processor_count: int :param freeform_tags: The value to assign to the freeform_tags property of this MacsManagedExternalDatabaseInsight. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this MacsManagedExternalDatabaseInsight. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this MacsManagedExternalDatabaseInsight. :type system_tags: dict(str, dict(str, object)) :param time_created: The value to assign to the time_created property of this MacsManagedExternalDatabaseInsight. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this MacsManagedExternalDatabaseInsight. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this MacsManagedExternalDatabaseInsight. 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 MacsManagedExternalDatabaseInsight. :type lifecycle_details: str :param database_connection_status_details: The value to assign to the database_connection_status_details property of this MacsManagedExternalDatabaseInsight. :type database_connection_status_details: str :param management_agent_id: The value to assign to the management_agent_id property of this MacsManagedExternalDatabaseInsight. :type management_agent_id: str :param connector_id: The value to assign to the connector_id property of this MacsManagedExternalDatabaseInsight. :type connector_id: str :param connection_details: The value to assign to the connection_details property of this MacsManagedExternalDatabaseInsight. :type connection_details: oci.opsi.models.ConnectionDetails :param connection_credential_details: The value to assign to the connection_credential_details property of this MacsManagedExternalDatabaseInsight. :type connection_credential_details: oci.opsi.models.CredentialDetails :param database_id: The value to assign to the database_id property of this MacsManagedExternalDatabaseInsight. :type database_id: str :param database_name: The value to assign to the database_name property of this MacsManagedExternalDatabaseInsight. :type database_name: str :param database_display_name: The value to assign to the database_display_name property of this MacsManagedExternalDatabaseInsight. :type database_display_name: str :param database_resource_type: The value to assign to the database_resource_type property of this MacsManagedExternalDatabaseInsight. :type database_resource_type: str :param db_additional_details: The value to assign to the db_additional_details property of this MacsManagedExternalDatabaseInsight. :type db_additional_details: object �str�intzdict(str, str)zdict(str, dict(str, object))�datetime�ConnectionDetails�CredentialDetails�object)� 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�management_agent_id�connector_id�connection_details�connection_credential_details�database_id� database_name�database_display_name�database_resource_type�db_additional_details�entitySourcer � compartmentIdr �databaseType�databaseVersion�processorCount�freeformTags�definedTags� systemTags�timeCreated�timeUpdated�lifecycleState�lifecycleDetails�databaseConnectionStatusDetails�managementAgentId�connectorId�connectionDetails�connectionCredentialDetails� databaseId�databaseName�databaseDisplayName�databaseResourceType�dbAdditionalDetailsN�MACS_MANAGED_EXTERNAL_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�_management_agent_id� _connector_id�_connection_details�_connection_credential_details�_database_id�_database_name�_database_display_name�_database_resource_type�_db_additional_details)�self�kwargs� rZ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/opsi/models/macs_managed_external_database_insight.py�__init__ s� k��z+MacsManagedExternalDatabaseInsight.__init__c C s | j S )aJ Gets the management_agent_id of this MacsManagedExternalDatabaseInsight. The `OCID`__ of the Management Agent __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The management_agent_id of this MacsManagedExternalDatabaseInsight. :rtype: str �rO �rX rZ rZ r[ r � s z6MacsManagedExternalDatabaseInsight.management_agent_idc C s || _ dS )a\ Sets the management_agent_id of this MacsManagedExternalDatabaseInsight. The `OCID`__ of the Management Agent __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param management_agent_id: The management_agent_id of this MacsManagedExternalDatabaseInsight. :type: str Nr] )rX r rZ rZ r[ r � s c C s | j S )aC Gets the connector_id of this MacsManagedExternalDatabaseInsight. The `OCID`__ of External Database Connector __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The connector_id of this MacsManagedExternalDatabaseInsight. :rtype: str �rP r^ rZ rZ r[ r � s z/MacsManagedExternalDatabaseInsight.connector_idc C s || _ dS )aN Sets the connector_id of this MacsManagedExternalDatabaseInsight. The `OCID`__ of External Database Connector __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param connector_id: The connector_id of this MacsManagedExternalDatabaseInsight. :type: str Nr_ )rX r rZ rZ r[ r � s c C s | j S )z� Gets the connection_details of this MacsManagedExternalDatabaseInsight. :return: The connection_details of this MacsManagedExternalDatabaseInsight. :rtype: oci.opsi.models.ConnectionDetails �rQ r^ rZ rZ r[ r s z5MacsManagedExternalDatabaseInsight.connection_detailsc C s || _ dS )z� Sets the connection_details of this MacsManagedExternalDatabaseInsight. :param connection_details: The connection_details of this MacsManagedExternalDatabaseInsight. :type: oci.opsi.models.ConnectionDetails Nr` )rX r rZ rZ r[ r s c C s | j S )z� Gets the connection_credential_details of this MacsManagedExternalDatabaseInsight. :return: The connection_credential_details of this MacsManagedExternalDatabaseInsight. :rtype: oci.opsi.models.CredentialDetails �rR r^ rZ rZ r[ r! s z@MacsManagedExternalDatabaseInsight.connection_credential_detailsc C s || _ dS )a Sets the connection_credential_details of this MacsManagedExternalDatabaseInsight. :param connection_credential_details: The connection_credential_details of this MacsManagedExternalDatabaseInsight. :type: oci.opsi.models.CredentialDetails Nra )rX r! rZ rZ r[ r! s c C s | j S )aB **[Required]** Gets the database_id of this MacsManagedExternalDatabaseInsight. The `OCID`__ of the database. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The database_id of this MacsManagedExternalDatabaseInsight. :rtype: str �rS r^ rZ rZ r[ r"