Data Source: oci_database_databases

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

Gets a list of the databases in the specified Database Home.

Example Usage

data "oci_database_databases" "test_databases" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	db_home_id = oci_database_db_home.test_db_home.id
	db_name = var.database_db_name
	state = var.database_state
	system_id = oci_database_system.test_system.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Database Reference

The following attributes are exported: