DiscoveredExternalCluster

class oci.database_management.models.DiscoveredExternalCluster(**kwargs)

Bases: oci.database_management.models.discovered_external_db_system_component.DiscoveredExternalDbSystemComponent

The details of an external cluster discovered in an external DB system discovery run.

Attributes

COMPONENT_TYPE_ASM str(object=’’) -> str
COMPONENT_TYPE_ASM_INSTANCE str(object=’’) -> str
COMPONENT_TYPE_CLUSTER str(object=’’) -> str
COMPONENT_TYPE_CLUSTER_INSTANCE str(object=’’) -> str
COMPONENT_TYPE_DATABASE str(object=’’) -> str
COMPONENT_TYPE_DATABASE_HOME str(object=’’) -> str
COMPONENT_TYPE_DATABASE_INSTANCE str(object=’’) -> str
COMPONENT_TYPE_DATABASE_NODE str(object=’’) -> str
COMPONENT_TYPE_DBSYSTEM str(object=’’) -> str
COMPONENT_TYPE_LISTENER str(object=’’) -> str
COMPONENT_TYPE_PLUGGABLE_DATABASE str(object=’’) -> str
STATUS_EXISTING str(object=’’) -> str
STATUS_MARKED_FOR_DELETION str(object=’’) -> str
STATUS_NEW str(object=’’) -> str
STATUS_UNKNOWN str(object=’’) -> str
associated_components Gets the associated_components of this DiscoveredExternalDbSystemComponent.
cluster_instances Gets the cluster_instances of this DiscoveredExternalCluster.
component_id [Required] Gets the component_id of this DiscoveredExternalDbSystemComponent.
component_name [Required] Gets the component_name of this DiscoveredExternalDbSystemComponent.
component_type [Required] Gets the component_type of this DiscoveredExternalDbSystemComponent.
display_name [Required] Gets the display_name of this DiscoveredExternalDbSystemComponent.
grid_home Gets the grid_home of this DiscoveredExternalCluster.
is_flex_cluster Gets the is_flex_cluster of this DiscoveredExternalCluster.
is_selected_for_monitoring Gets the is_selected_for_monitoring of this DiscoveredExternalDbSystemComponent.
network_configurations Gets the network_configurations of this DiscoveredExternalCluster.
ocr_file_location Gets the ocr_file_location of this DiscoveredExternalCluster.
resource_id Gets the resource_id of this DiscoveredExternalDbSystemComponent.
scan_configurations Gets the scan_configurations of this DiscoveredExternalCluster.
status Gets the status of this DiscoveredExternalDbSystemComponent.
version Gets the version of this DiscoveredExternalCluster.
vip_configurations Gets the vip_configurations of this DiscoveredExternalCluster.

Methods

__init__(**kwargs) Initializes a new DiscoveredExternalCluster object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
COMPONENT_TYPE_ASM = 'ASM'
COMPONENT_TYPE_ASM_INSTANCE = 'ASM_INSTANCE'
COMPONENT_TYPE_CLUSTER = 'CLUSTER'
COMPONENT_TYPE_CLUSTER_INSTANCE = 'CLUSTER_INSTANCE'
COMPONENT_TYPE_DATABASE = 'DATABASE'
COMPONENT_TYPE_DATABASE_HOME = 'DATABASE_HOME'
COMPONENT_TYPE_DATABASE_INSTANCE = 'DATABASE_INSTANCE'
COMPONENT_TYPE_DATABASE_NODE = 'DATABASE_NODE'
COMPONENT_TYPE_DBSYSTEM = 'DBSYSTEM'
COMPONENT_TYPE_LISTENER = 'LISTENER'
COMPONENT_TYPE_PLUGGABLE_DATABASE = 'PLUGGABLE_DATABASE'
STATUS_EXISTING = 'EXISTING'
STATUS_MARKED_FOR_DELETION = 'MARKED_FOR_DELETION'
STATUS_NEW = 'NEW'
STATUS_UNKNOWN = 'UNKNOWN'
__init__(**kwargs)

Initializes a new DiscoveredExternalCluster object with values from keyword arguments. The default value of the 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):

Parameters:
  • component_id (str) – The value to assign to the component_id property of this DiscoveredExternalCluster.
  • display_name (str) – The value to assign to the display_name property of this DiscoveredExternalCluster.
  • component_name (str) – The value to assign to the component_name property of this DiscoveredExternalCluster.
  • component_type (str) – 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”
  • resource_id (str) – The value to assign to the resource_id property of this DiscoveredExternalCluster.
  • is_selected_for_monitoring (bool) – The value to assign to the is_selected_for_monitoring property of this DiscoveredExternalCluster.
  • status (str) – The value to assign to the status property of this DiscoveredExternalCluster. Allowed values for this property are: “NEW”, “EXISTING”, “MARKED_FOR_DELETION”, “UNKNOWN”
  • associated_components (list[oci.database_management.models.AssociatedComponent]) – The value to assign to the associated_components property of this DiscoveredExternalCluster.
  • grid_home (str) – The value to assign to the grid_home property of this DiscoveredExternalCluster.
  • version (str) – The value to assign to the version property of this DiscoveredExternalCluster.
  • is_flex_cluster (bool) – The value to assign to the is_flex_cluster property of this DiscoveredExternalCluster.
  • network_configurations (list[oci.database_management.models.ExternalClusterNetworkConfiguration]) – The value to assign to the network_configurations property of this DiscoveredExternalCluster.
  • vip_configurations (list[oci.database_management.models.ExternalClusterVipConfiguration]) – The value to assign to the vip_configurations property of this DiscoveredExternalCluster.
  • scan_configurations (list[oci.database_management.models.ExternalClusterScanListenerConfiguration]) – The value to assign to the scan_configurations property of this DiscoveredExternalCluster.
  • ocr_file_location (str) – The value to assign to the ocr_file_location property of this DiscoveredExternalCluster.
  • cluster_instances (list[oci.database_management.models.DiscoveredExternalClusterInstance]) – The value to assign to the cluster_instances property of this DiscoveredExternalCluster.
associated_components

Gets the associated_components of this DiscoveredExternalDbSystemComponent. The list of associated components.

Returns:The associated_components of this DiscoveredExternalDbSystemComponent.
Return type:list[oci.database_management.models.AssociatedComponent]
cluster_instances

Gets the cluster_instances of this DiscoveredExternalCluster.

Returns:The cluster_instances of this DiscoveredExternalCluster.
Return type:list[oci.database_management.models.DiscoveredExternalClusterInstance]
component_id

[Required] Gets the component_id of this DiscoveredExternalDbSystemComponent. The identifier of the discovered DB system component.

Returns:The component_id of this DiscoveredExternalDbSystemComponent.
Return type:str
component_name

[Required] Gets the component_name of this DiscoveredExternalDbSystemComponent. The name of the discovered DB system component.

Returns:The component_name of this DiscoveredExternalDbSystemComponent.
Return type:str
component_type

[Required] Gets the component_type of this DiscoveredExternalDbSystemComponent. The external DB system component type.

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’.

Returns:The component_type of this DiscoveredExternalDbSystemComponent.
Return type:str
display_name

[Required] Gets the display_name of this DiscoveredExternalDbSystemComponent. The user-friendly name for the discovered DB system component. The name does not have to be unique.

Returns:The display_name of this DiscoveredExternalDbSystemComponent.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

grid_home

Gets the grid_home of this DiscoveredExternalCluster. The directory in which Oracle Grid Infrastructure is installed.

Returns:The grid_home of this DiscoveredExternalCluster.
Return type:str
is_flex_cluster

Gets the is_flex_cluster of this DiscoveredExternalCluster. Indicates whether the cluster is an Oracle Flex Cluster or not.

Returns:The is_flex_cluster of this DiscoveredExternalCluster.
Return type:bool
is_selected_for_monitoring

Gets the is_selected_for_monitoring of this DiscoveredExternalDbSystemComponent. Indicates whether the DB system component should be provisioned as an OCI resource or not.

Returns:The is_selected_for_monitoring of this DiscoveredExternalDbSystemComponent.
Return type:bool
network_configurations

Gets the network_configurations of this DiscoveredExternalCluster. The list of network address configurations of the external cluster.

Returns:The network_configurations of this DiscoveredExternalCluster.
Return type:list[oci.database_management.models.ExternalClusterNetworkConfiguration]
ocr_file_location

Gets the ocr_file_location of this DiscoveredExternalCluster. The location of the Oracle Cluster Registry (OCR) file.

Returns:The ocr_file_location of this DiscoveredExternalCluster.
Return type:str
resource_id

Gets the resource_id of this DiscoveredExternalDbSystemComponent. The OCID of the existing OCI resource matching the discovered DB system component.

Returns:The resource_id of this DiscoveredExternalDbSystemComponent.
Return type:str
scan_configurations

Gets the scan_configurations of this DiscoveredExternalCluster. The list of Single Client Access Name (SCAN) configurations of the external cluster.

Returns:The scan_configurations of this DiscoveredExternalCluster.
Return type:list[oci.database_management.models.ExternalClusterScanListenerConfiguration]
status

Gets the status of this DiscoveredExternalDbSystemComponent. The state of the discovered DB system component.

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’.

Returns:The status of this DiscoveredExternalDbSystemComponent.
Return type:str
version

Gets the version of this DiscoveredExternalCluster. The version of Oracle Clusterware running in the cluster.

Returns:The version of this DiscoveredExternalCluster.
Return type:str
vip_configurations

Gets the vip_configurations of this DiscoveredExternalCluster. The list of Virtual IP (VIP) configurations of the external cluster.

Returns:The vip_configurations of this DiscoveredExternalCluster.
Return type:list[oci.database_management.models.ExternalClusterVipConfiguration]