Data Source: oci_database_management_managed_database_groups

This data source provides the list of Managed Database Groups in Oracle Cloud Infrastructure Database Management service.

Gets the Managed Database Group for a specific ID or the list of Managed Database Groups in a specific compartment. Managed Database Groups can also be filtered based on the name parameter. Only one of the parameters, ID or name should be provided. If none of these parameters is provided, all the Managed Database Groups in the compartment are listed.

Example Usage

data "oci_database_management_managed_database_groups" "test_managed_database_groups" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	id = var.managed_database_group_id
	name = var.managed_database_group_name
	state = var.managed_database_group_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

ManagedDatabaseGroup Reference

The following attributes are exported: