📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
database_management
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/database_management/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: discovered_external_cluster_instance.cpython-39.opt-1.pyc
a ���f�- � @ 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 @ s� e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zdd� Zdd� Zdd� ZdS )�!DiscoveredExternalClusterInstancezh The details of an external cluster instance discovered in an external DB system discovery run. �HUB�LEAFc K s� ddddddddddddddd�| _ dddd d ddd ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )aX Initializes a new DiscoveredExternalClusterInstance object with values from keyword arguments. The default value of the :py:attr:`~oci.database_management.models.DiscoveredExternalClusterInstance.component_type` attribute of this class is ``CLUSTER_INSTANCE`` 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 DiscoveredExternalClusterInstance. :type component_id: str :param display_name: The value to assign to the display_name property of this DiscoveredExternalClusterInstance. :type display_name: str :param component_name: The value to assign to the component_name property of this DiscoveredExternalClusterInstance. :type component_name: str :param component_type: The value to assign to the component_type property of this DiscoveredExternalClusterInstance. 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 DiscoveredExternalClusterInstance. :type resource_id: str :param is_selected_for_monitoring: The value to assign to the is_selected_for_monitoring property of this DiscoveredExternalClusterInstance. :type is_selected_for_monitoring: bool :param status: The value to assign to the status property of this DiscoveredExternalClusterInstance. 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 DiscoveredExternalClusterInstance. :type associated_components: list[oci.database_management.models.AssociatedComponent] :param host_name: The value to assign to the host_name property of this DiscoveredExternalClusterInstance. :type host_name: str :param cluster_id: The value to assign to the cluster_id property of this DiscoveredExternalClusterInstance. :type cluster_id: str :param node_role: The value to assign to the node_role property of this DiscoveredExternalClusterInstance. Allowed values for this property are: "HUB", "LEAF", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type node_role: str :param crs_base_directory: The value to assign to the crs_base_directory property of this DiscoveredExternalClusterInstance. :type crs_base_directory: str :param adr_home_directory: The value to assign to the adr_home_directory property of this DiscoveredExternalClusterInstance. :type adr_home_directory: str :param connector: The value to assign to the connector property of this DiscoveredExternalClusterInstance. :type connector: oci.database_management.models.ExternalDbSystemDiscoveryConnector �str�boolzlist[AssociatedComponent]Z"ExternalDbSystemDiscoveryConnector)Zcomponent_idZdisplay_nameZcomponent_nameZcomponent_typeZresource_idZis_selected_for_monitoring�statusZassociated_components� host_name� cluster_id� node_role�crs_base_directory�adr_home_directory� connectorZcomponentIdZdisplayNameZ componentNameZ componentTypeZ resourceIdZisSelectedForMonitoringr ZassociatedComponentsZhostNameZ clusterIdZnodeRoleZcrsBaseDirectoryZadrHomeDirectoryr NZCLUSTER_INSTANCE)Z swagger_typesZ attribute_mapZ _component_idZ _display_nameZ_component_nameZ_component_typeZ_resource_idZ_is_selected_for_monitoringZ_statusZ_associated_components� _host_name�_cluster_id� _node_role�_crs_base_directory�_adr_home_directory� _connector)�self�kwargs� r �g/usr/lib/python3.9/site-packages/oci/database_management/models/discovered_external_cluster_instance.py�__init__ sZ F��z*DiscoveredExternalClusterInstance.__init__c C s | j S )a **[Required]** Gets the host_name of this DiscoveredExternalClusterInstance. The name of the host on which the cluster instance is running. :return: The host_name of this DiscoveredExternalClusterInstance. :rtype: str �r �r r r r r � s z+DiscoveredExternalClusterInstance.host_namec C s || _ dS )z� Sets the host_name of this DiscoveredExternalClusterInstance. The name of the host on which the cluster instance is running. :param host_name: The host_name of this DiscoveredExternalClusterInstance. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the cluster_id of this DiscoveredExternalClusterInstance. The unique identifier of the Oracle cluster. :return: The cluster_id of this DiscoveredExternalClusterInstance. :rtype: str �r r r r r r � s z,DiscoveredExternalClusterInstance.cluster_idc C s || _ dS )z� Sets the cluster_id of this DiscoveredExternalClusterInstance. The unique identifier of the Oracle cluster. :param cluster_id: The cluster_id of this DiscoveredExternalClusterInstance. :type: str Nr! )r r r r r r � s c C s | j S )a� Gets the node_role of this DiscoveredExternalClusterInstance. The role of the cluster node. Allowed values for this property are: "HUB", "LEAF", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The node_role of this DiscoveredExternalClusterInstance. :rtype: str )r r r r r r � s z+DiscoveredExternalClusterInstance.node_rolec C s ddg}t ||�sd}|| _dS )z� Sets the node_role of this DiscoveredExternalClusterInstance. The role of the cluster node. :param node_role: The node_role of this DiscoveredExternalClusterInstance. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s | j S )a Gets the crs_base_directory of this DiscoveredExternalClusterInstance. The Oracle base location of Cluster Ready Services (CRS). :return: The crs_base_directory of this DiscoveredExternalClusterInstance. :rtype: str �r r r r r r � s z4DiscoveredExternalClusterInstance.crs_base_directoryc C s || _ dS )a Sets the crs_base_directory of this DiscoveredExternalClusterInstance. The Oracle base location of Cluster Ready Services (CRS). :param crs_base_directory: The crs_base_directory of this DiscoveredExternalClusterInstance. :type: str Nr"