ruạṛ
a ���f5 � @ 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 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� �Zdd� Zdd� Zd d!� Zd"S )#�DiscoveredExternalClusterz_ The details of an external cluster discovered in an external DB system discovery run. c K s� ddddddddddddddddd�| _ d d ddd dddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a� Initializes a new DiscoveredExternalCluster object with values from keyword arguments. The default value of the :py:attr:`~oci.database_management.models.DiscoveredExternalCluster.component_type` attribute of this class is ``CLUSTER`` 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 DiscoveredExternalCluster. :type component_id: str :param display_name: The value to assign to the display_name property of this DiscoveredExternalCluster. :type display_name: str :param component_name: The value to assign to the component_name property of this DiscoveredExternalCluster. :type component_name: str :param component_type: The value to assign to the component_type property of this DiscoveredExternalCluster. Allowed values for this property are: "ASM", "ASM_INSTANCE", "CLUSTER", "CLUSTER_INSTANCE", "DATABASE", "DATABASE_INSTANCE", "DATABASE_HOME", "DATABASE_NODE", "DBSYSTEM", "LISTENER", "PLUGGABLE_DATABASE" :type component_type: str :param resource_id: The value to assign to the resource_id property of this DiscoveredExternalCluster. :type resource_id: str :param is_selected_for_monitoring: The value to assign to the is_selected_for_monitoring property of this DiscoveredExternalCluster. :type is_selected_for_monitoring: bool :param status: The value to assign to the status property of this DiscoveredExternalCluster. Allowed values for this property are: "NEW", "EXISTING", "MARKED_FOR_DELETION", "UNKNOWN" :type status: str :param associated_components: The value to assign to the associated_components property of this DiscoveredExternalCluster. :type associated_components: list[oci.database_management.models.AssociatedComponent] :param grid_home: The value to assign to the grid_home property of this DiscoveredExternalCluster. :type grid_home: str :param version: The value to assign to the version property of this DiscoveredExternalCluster. :type version: str :param is_flex_cluster: The value to assign to the is_flex_cluster property of this DiscoveredExternalCluster. :type is_flex_cluster: bool :param network_configurations: The value to assign to the network_configurations property of this DiscoveredExternalCluster. :type network_configurations: list[oci.database_management.models.ExternalClusterNetworkConfiguration] :param vip_configurations: The value to assign to the vip_configurations property of this DiscoveredExternalCluster. :type vip_configurations: list[oci.database_management.models.ExternalClusterVipConfiguration] :param scan_configurations: The value to assign to the scan_configurations property of this DiscoveredExternalCluster. :type scan_configurations: list[oci.database_management.models.ExternalClusterScanListenerConfiguration] :param ocr_file_location: The value to assign to the ocr_file_location property of this DiscoveredExternalCluster. :type ocr_file_location: str :param cluster_instances: The value to assign to the cluster_instances property of this DiscoveredExternalCluster. :type cluster_instances: list[oci.database_management.models.DiscoveredExternalClusterInstance] �str�boolzlist[AssociatedComponent]z)list[ExternalClusterNetworkConfiguration]z%list[ExternalClusterVipConfiguration]z.list[ExternalClusterScanListenerConfiguration]z'list[DiscoveredExternalClusterInstance])Zcomponent_idZdisplay_nameZcomponent_nameZcomponent_typeZresource_idZis_selected_for_monitoring�statusZassociated_components� grid_home�version�is_flex_cluster�network_configurations�vip_configurations�scan_configurations�ocr_file_location�cluster_instancesZcomponentIdZdisplayNameZ componentNameZ componentTypeZ resourceIdZisSelectedForMonitoringr ZassociatedComponentsZgridHomer Z isFlexClusterZnetworkConfigurationsZvipConfigurationsZscanConfigurationsZocrFileLocationZclusterInstancesNZCLUSTER)Z swagger_typesZ attribute_mapZ _component_idZ _display_nameZ_component_nameZ_component_typeZ_resource_idZ_is_selected_for_monitoringZ_statusZ_associated_components� _grid_home�_version�_is_flex_cluster�_network_configurations�_vip_configurations�_scan_configurations�_ocr_file_location�_cluster_instances)�self�kwargs� r �^/usr/lib/python3.9/site-packages/oci/database_management/models/discovered_external_cluster.py�__init__ sf J��z"DiscoveredExternalCluster.__init__c C s | j S )z� Gets the grid_home of this DiscoveredExternalCluster. The directory in which Oracle Grid Infrastructure is installed. :return: The grid_home of this DiscoveredExternalCluster. :rtype: str �r �r r r r r � s z#DiscoveredExternalCluster.grid_homec C s || _ dS )z� Sets the grid_home of this DiscoveredExternalCluster. The directory in which Oracle Grid Infrastructure is installed. :param grid_home: The grid_home of this DiscoveredExternalCluster. :type: str Nr! )r r r r r r � s c C s | j S )z� Gets the version of this DiscoveredExternalCluster. The version of Oracle Clusterware running in the cluster. :return: The version of this DiscoveredExternalCluster. :rtype: str �r r"