Lists Managed Databases.

GET {{baseUrl}}/managedDatabases?compartmentId=<string>&id=<string>&name=<string>&managementOption=ADVANCED&deploymentType=AUTONOMOUS&externalExadataInfrastructureId=<string>&page=<string>&limit=10&sortBy=TIMECREATED&sortOrder=ASC

Gets the Managed Database for a specific ID or the list of Managed Databases in a specific compartment. Managed Databases can be filtered based on the name parameter. Only one of the parameters, ID or name should be provided. If neither of these parameters is provided, all the Managed Databases in the compartment are listed. Managed Databases can also be filtered based on the deployment type and management option. If the deployment type is not specified or if it is ONPREMISE, then the management option is not considered and Managed Databases with ADVANCED management option 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.
managementOptionstringA filter to return Managed Databases with the specified management option.
deploymentTypestringA filter to return Managed Databases of the specified deployment type.
externalExadataInfrastructureIdstringThe OCID of the Exadata infrastructure.
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;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;compartmentId&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;databaseType&quot;:&quot;CLOUD_SIDB&quot;,&quot;databaseSubType&quot;:&quot;PDB&quot;,&quot;isCluster&quot;:&quot;\u003cboolean\u003e&quot;,&quot;timeCreated&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;databaseVersion&quot;:&quot;\u003cstring\u003e&quot;,&quot;dbSystemId&quot;:&quot;\u003cstring\u003e&quot;,&quot;definedTags&quot;:{&quot;in_5&quot;:{&quot;dolor_e4&quot;:{},&quot;quis_c&quot;:{}}},&quot;deploymentType&quot;:&quot;VM&quot;,&quot;freeformTags&quot;:{&quot;sita&quot;:&quot;\u003cstring\u003e&quot;,&quot;inc&quot;:&quot;\u003cstring\u003e&quot;},&quot;managementOption&quot;:&quot;BASIC&quot;,&quot;parentContainerId&quot;:&quot;\u003cstring\u003e&quot;,&quot;storageSystemId&quot;:&quot;\u003cstring\u003e&quot;,&quot;workloadType&quot;:&quot;DW&quot;},{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;compartmentId&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;databaseType&quot;:&quot;CLOUD_SIDB&quot;,&quot;databaseSubType&quot;:&quot;ACD&quot;,&quot;isCluster&quot;:&quot;\u003cboolean\u003e&quot;,&quot;timeCreated&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;databaseVersion&quot;:&quot;\u003cstring\u003e&quot;,&quot;dbSystemId&quot;:&quot;\u003cstring\u003e&quot;,&quot;definedTags&quot;:{&quot;amet87&quot;:{&quot;dolor_f&quot;:{},&quot;aliqua_3f&quot;:{},&quot;elit_032&quot;:{},&quot;laborum_a&quot;:{}},&quot;laborum_c&quot;:{&quot;mollit2c2&quot;:{},&quot;ut_49d&quot;:{}}},&quot;deploymentType&quot;:&quot;EXADATA_CC&quot;,&quot;freeformTags&quot;:{&quot;minim_05c&quot;:&quot;\u003cstring\u003e&quot;,&quot;doloreee&quot;:&quot;\u003cstring\u003e&quot;,&quot;pariaturdb&quot;:&quot;\u003cstring\u003e&quot;},&quot;managementOption&quot;:&quot;ADVANCED&quot;,&quot;parentContainerId&quot;:&quot;\u003cstring\u003e&quot;,&quot;storageSystemId&quot;:&quot;\u003cstring\u003e&quot;,&quot;workloadType&quot;:&quot;AJD&quot;}]}