Data Source: oci_database_management_external_clusters
This data source provides the list of External Clusters in Oracle Cloud Infrastructure Database Management service.
Lists the clusters in the specified external DB system.
Example Usage
data "oci_database_management_external_clusters" "test_external_clusters" {
	#Optional
	compartment_id = var.compartment_id
	display_name = var.external_cluster_display_name
	external_db_system_id = oci_database_management_external_db_system.test_external_db_system.id
}
Argument Reference
The following arguments are supported:
- compartment_id- (Optional) The OCID of the compartment.
- display_name- (Optional) A filter to only return the resources that match the entire display name.
- external_db_system_id- (Optional) The OCID of the external DB system.
Attributes Reference
The following attributes are exported:
- external_cluster_collection- The list of external_cluster_collection.
ExternalCluster Reference
The following attributes are exported:
- additional_details- The additional details of the external cluster defined in- {"key": "value"}format. Example:- {"bar-key": "value"}
- compartment_id- The OCID of the compartment.
- component_name- The name of the external cluster.
- defined_tags- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:- {"Operations.CostCenter": "42"}
- display_name- The user-friendly name for the external cluster. The name does not have to be unique.
- external_connector_id- The OCID of the external connector.
- external_db_system_id- The OCID of the external DB system that the cluster is a part of.
- freeform_tags- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:- {"Department": "Finance"}
- grid_home- The directory in which Oracle Grid Infrastructure is installed.
- id- The OCID of the external cluster.
- is_flex_cluster- Indicates whether the cluster is Oracle Flex Cluster or not.
- lifecycle_details- Additional information about the current lifecycle state.
- network_configurations- The list of network address configurations of the external cluster.- network_number- The network number.
- network_type- The network type.
- subnet- The subnet for the network.
 
- ocr_file_location- The location of the Oracle Cluster Registry (OCR).
- scan_configurations- The list of Single Client Access Name (SCAN) configurations of the external cluster.- network_number- The network number from which SCAN VIPs are obtained.
- scan_name- The name of the SCAN listener.
- scan_port- The port number of the SCAN listener.
- scan_protocol- The protocol of the SCAN listener.
 
- state- The current lifecycle state of the external cluster.
- system_tags- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:- {"orcl-cloud.free-tier-retained": "true"}
- time_created- The date and time the external cluster was created.
- time_updated- The date and time the external cluster was last updated.
- version- The cluster version.
- vip_configurations- The list of Virtual IP (VIP) configurations of the external cluster.- address- The VIP name or IP address.
- network_number- The network number from which VIPs are obtained.
- node_name- The name of the node with the VIP.