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
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | (Required) The OCID of the compartment. | |
id | string | The identifier of the resource. | |
name | string | A filter to return only resources that match the entire name. | |
lifecycleState | string | The lifecycle state of a resource. | |
page | string | The page token representing the page from where the next set of paginated results | |
are retrieved. This is usually retrieved from a previous list call. | |||
limit | number | The maximum number of records returned in the paginated response. | |
sortBy | string | The 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. | |||
sortOrder | string | The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The client request ID for tracing. | |
Accept | string |
RESPONSES
status: OK
{"items":[{"name":"\u003cstring\u003e","id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","managedDatabaseCount":"\u003cinteger\u003e","lifecycleState":"ACTIVE","timeCreated":"\u003cdateTime\u003e","definedTags":{"non_0e0":{"estd":{}},"anim_":{"sed_ac2":{}}},"description":"\u003cstring\u003e","freeformTags":{"velit_be4":"\u003cstring\u003e","qui_3":"\u003cstring\u003e"}},{"name":"\u003cstring\u003e","id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","managedDatabaseCount":"\u003cinteger\u003e","lifecycleState":"CREATING","timeCreated":"\u003cdateTime\u003e","definedTags":{"est0":{"ad_4":{}},"cupidatat_a6":{"voluptate_3e7":{}}},"description":"\u003cstring\u003e","freeformTags":{"in__b0":"\u003cstring\u003e","elit5d":"\u003cstring\u003e"}}]}