Data Source: oci_database_management_managed_database_user_roles

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

Gets the list of roles granted to a specific user.

Example Usage

data "oci_database_management_managed_database_user_roles" "test_managed_database_user_roles" {
	#Required
	managed_database_id = oci_database_management_managed_database.test_managed_database.id
	user_name = oci_identity_user.test_user.name

	#Optional
	name = var.managed_database_user_role_name
	opc_named_credential_id = var.managed_database_user_role_opc_named_credential_id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

ManagedDatabaseUserRole Reference

The following attributes are exported: