Data Source: oci_database_db_nodes

This data source provides the list of Db Nodes in Oracle Cloud Infrastructure Database service.

Lists the database nodes in the specified compartment. A database node is a server running database software. In addition to the other required parameters, either ‘–db-system-id’ or ‘–vm-cluster-id’ also must be provided, depending on the service being accessed.

Example Usage

data "oci_database_db_nodes" "test_db_nodes" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	db_server_id = oci_database_db_server.test_db_server.id
	db_system_id = oci_database_db_system.test_db_system.id
	state = var.db_node_state
	vm_cluster_id = oci_database_vm_cluster.test_vm_cluster.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

DbNode Reference

The following attributes are exported: