Lists Managed Database Groups.

GET {{baseUrl}}/managedDatabaseGroups?compartmentId=<string>&id=<string>&name=<string>&lifecycleState=FAILED&page=<string>&limit=10&sortBy=TIMECREATED&sortOrder=ASC

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.

Request Params

KeyDatatypeRequiredDescription
compartmentIdstring(Required) The OCID of the compartment.
idstringThe identifier of the resource.
namestringA filter to return only resources that match the entire name.
lifecycleStatestringThe lifecycle state of a resource.
pagestringThe page token representing the page from where the next set of paginated results
are retrieved. This is usually retrieved from a previous list call.
limitnumberThe maximum number of records returned in the paginated response.
sortBystringThe field to sort information by. Only one sortOrder can be used. The default sort order
for ‘TIMECREATED’ is descending and the default sort order for ‘NAME’ is ascending.
The ‘NAME’ sort order is case-sensitive.
sortOrderstringThe option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order.

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringThe client request ID for tracing.
Acceptstring

RESPONSES

status: OK

{&quot;items&quot;:[{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;compartmentId&quot;:&quot;\u003cstring\u003e&quot;,&quot;managedDatabaseCount&quot;:&quot;\u003cinteger\u003e&quot;,&quot;lifecycleState&quot;:&quot;ACTIVE&quot;,&quot;timeCreated&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;definedTags&quot;:{&quot;non_0e0&quot;:{&quot;estd&quot;:{}},&quot;anim_&quot;:{&quot;sed_ac2&quot;:{}}},&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;freeformTags&quot;:{&quot;velit_be4&quot;:&quot;\u003cstring\u003e&quot;,&quot;qui_3&quot;:&quot;\u003cstring\u003e&quot;}},{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;compartmentId&quot;:&quot;\u003cstring\u003e&quot;,&quot;managedDatabaseCount&quot;:&quot;\u003cinteger\u003e&quot;,&quot;lifecycleState&quot;:&quot;CREATING&quot;,&quot;timeCreated&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;definedTags&quot;:{&quot;est0&quot;:{&quot;ad_4&quot;:{}},&quot;cupidatat_a6&quot;:{&quot;voluptate_3e7&quot;:{}}},&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;freeformTags&quot;:{&quot;in__b0&quot;:&quot;\u003cstring\u003e&quot;,&quot;elit5d&quot;:&quot;\u003cstring\u003e&quot;}}]}