ruạṛ
a ���fH � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�#DiscoveredExternalDbSystemComponent� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sv e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dd � Zedd� �Zejdd� �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-� �Zd/d0� Zd1d2� Zd3d4� Zd5S )6�DiscoveredExternalDatabasezg The details of an external Oracle Database discovered in an external DB system discovery run. �CDB�PDB�NON_CDB�ACD�ADB�LOGICAL_STANDBY�PHYSICAL_STANDBY�SNAPSHOT_STANDBY�PRIMARY�FAR_SYNCc K s� dddddddddddddddddddd�| _ ddd d ddd ddddddddddddd�| _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 DiscoveredExternalDatabase object with values from keyword arguments. The default value of the :py:attr:`~oci.database_management.models.DiscoveredExternalDatabase.component_type` attribute of this class is ``DATABASE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param component_id: The value to assign to the component_id property of this DiscoveredExternalDatabase. :type component_id: str :param display_name: The value to assign to the display_name property of this DiscoveredExternalDatabase. :type display_name: str :param component_name: The value to assign to the component_name property of this DiscoveredExternalDatabase. :type component_name: str :param component_type: The value to assign to the component_type property of this DiscoveredExternalDatabase. Allowed values for this property are: "ASM", "ASM_INSTANCE", "CLUSTER", "CLUSTER_INSTANCE", "DATABASE", "DATABASE_INSTANCE", "DATABASE_HOME", "DATABASE_NODE", "DBSYSTEM", "LISTENER", "PLUGGABLE_DATABASE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type component_type: str :param resource_id: The value to assign to the resource_id property of this DiscoveredExternalDatabase. :type resource_id: str :param is_selected_for_monitoring: The value to assign to the is_selected_for_monitoring property of this DiscoveredExternalDatabase. :type is_selected_for_monitoring: bool :param status: The value to assign to the status property of this DiscoveredExternalDatabase. Allowed values for this property are: "NEW", "EXISTING", "MARKED_FOR_DELETION", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param associated_components: The value to assign to the associated_components property of this DiscoveredExternalDatabase. :type associated_components: list[oci.database_management.models.AssociatedComponent] :param compartment_id: The value to assign to the compartment_id property of this DiscoveredExternalDatabase. :type compartment_id: str :param db_unique_name: The value to assign to the db_unique_name property of this DiscoveredExternalDatabase. :type db_unique_name: str :param db_type: The value to assign to the db_type property of this DiscoveredExternalDatabase. Allowed values for this property are: "CDB", "PDB", "NON_CDB", "ACD", "ADB", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type db_type: str :param is_cluster: The value to assign to the is_cluster property of this DiscoveredExternalDatabase. :type is_cluster: bool :param db_edition: The value to assign to the db_edition property of this DiscoveredExternalDatabase. :type db_edition: str :param db_id: The value to assign to the db_id property of this DiscoveredExternalDatabase. :type db_id: str :param db_packs: The value to assign to the db_packs property of this DiscoveredExternalDatabase. :type db_packs: str :param db_role: The value to assign to the db_role property of this DiscoveredExternalDatabase. Allowed values for this property are: "LOGICAL_STANDBY", "PHYSICAL_STANDBY", "SNAPSHOT_STANDBY", "PRIMARY", "FAR_SYNC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type db_role: str :param db_version: The value to assign to the db_version property of this DiscoveredExternalDatabase. :type db_version: str :param pluggable_databases: The value to assign to the pluggable_databases property of this DiscoveredExternalDatabase. :type pluggable_databases: list[oci.database_management.models.DiscoveredExternalPluggableDatabase] :param connector: The value to assign to the connector property of this DiscoveredExternalDatabase. :type connector: oci.database_management.models.ExternalDbSystemDiscoveryConnector �str�boolzlist[AssociatedComponent]z)list[DiscoveredExternalPluggableDatabase]Z"ExternalDbSystemDiscoveryConnector)Zcomponent_idZdisplay_nameZcomponent_nameZcomponent_typeZresource_idZis_selected_for_monitoring�statusZassociated_components�compartment_id�db_unique_name�db_type� is_cluster� db_edition�db_id�db_packs�db_role� db_version�pluggable_databases� connectorZcomponentIdZdisplayNameZ componentNameZ componentTypeZ resourceIdZisSelectedForMonitoringr ZassociatedComponentsZ compartmentIdZdbUniqueNameZdbTypeZ isClusterZ dbEditionZdbIdZdbPacksZdbRoleZ dbVersionZpluggableDatabasesr NZDATABASE)Z swagger_typesZ attribute_mapZ _component_idZ _display_nameZ_component_nameZ_component_typeZ_resource_idZ_is_selected_for_monitoringZ_statusZ_associated_components�_compartment_id�_db_unique_name�_db_type�_is_cluster�_db_edition�_db_id� _db_packs�_db_role�_db_version�_pluggable_databases� _connector)�self�kwargs� r. �_/usr/lib/python3.9/site-packages/oci/database_management/models/discovered_external_database.py�__init__: sx \��z#DiscoveredExternalDatabase.__init__c C s | j S )a6 **[Required]** Gets the compartment_id of this DiscoveredExternalDatabase. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this DiscoveredExternalDatabase. :rtype: str �r! �r, r. r. r/ r � s z)DiscoveredExternalDatabase.compartment_idc C s || _ dS )a4 Sets the compartment_id of this DiscoveredExternalDatabase. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this DiscoveredExternalDatabase. :type: str Nr1 )r, r r. r. r/ r � s c C s | j S )z� **[Required]** Gets the db_unique_name of this DiscoveredExternalDatabase. The `DB_UNIQUE_NAME` of the external database. :return: The db_unique_name of this DiscoveredExternalDatabase. :rtype: str �r"