» Data Source: oci_database_db_homes

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

Gets a list of database homes in the specified DB system and compartment. A database home is a directory where Oracle Database software is installed.

» Example Usage

data "oci_database_db_homes" "test_db_homes" {
    #Required
    compartment_id = "${var.compartment_id}"
    db_system_id = "${oci_database_db_system.test_db_system.id}"

    #Optional
    display_name = "${var.db_home_display_name}"
    state = "${var.db_home_state}"
    vm_cluster_id = "${oci_database_vm_cluster.test_vm_cluster.id}"
}

» Argument Reference

The following arguments are supported:

  • compartment_id - (Required) The compartment OCID.
  • db_system_id - (Applicable when source=DB_BACKUP | NONE) The DB system OCID. If provided, filters the results to the set of database versions which are supported for the DB system.
  • display_name - (Optional) A filter to return only resources that match the entire display name given. The match is not case sensitive.
  • state - (Optional) A filter to return only resources that match the given lifecycle state exactly.
  • vm_cluster_id - (Applicable when source=VM_CLUSTER_NEW) The OCID of the VM cluster.

» Attributes Reference

The following attributes are exported:

» DbHome Reference

The following attributes are exported: