Data Source: oci_database_management_cloud_db_homes
This data source provides the list of Cloud Db Homes in Oracle Cloud Infrastructure Database Management service.
Lists the DB homes in the specified cloud DB system.
Example Usage
data "oci_database_management_cloud_db_homes" "test_cloud_db_homes" {
#Optional
cloud_db_system_id = oci_database_management_cloud_db_system.test_cloud_db_system.id
compartment_id = var.compartment_id
display_name = var.cloud_db_home_display_name
}
Argument Reference
The following arguments are supported:
cloud_db_system_id
- (Optional) The OCID of the cloud DB system.compartment_id
- (Optional) The OCID of the compartment.display_name
- (Optional) A filter to only return the resources that match the entire display name.
Attributes Reference
The following attributes are exported:
cloud_db_home_collection
- The list of cloud_db_home_collection.
CloudDbHome Reference
The following attributes are exported:
additional_details
- The additional details of the DB home defined in{"key": "value"}
format. Example:{"bar-key": "value"}
cloud_db_system_id
- The OCID of the cloud DB system that the DB home is a part of.compartment_id
- The OCID of the compartment.component_name
- The name of the cloud DB home.dbaas_id
- The OCID of the cloud DB home in DBaas service.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 cloud DB home. The name does not have to be unique.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"}
home_directory
- The location of the DB home.id
- The OCID of the cloud DB home.lifecycle_details
- Additional information about the current lifecycle state.state
- The current lifecycle state of the cloud DB home.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 cloud DB home was created.time_updated
- The date and time the cloud DB home was last updated.