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
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. | |
managementOption | string | A filter to return Managed Databases with the specified management option. | |
deploymentType | string | A filter to return Managed Databases of the specified deployment type. | |
externalExadataInfrastructureId | string | The OCID of the Exadata infrastructure. | |
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":[{"id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","name":"\u003cstring\u003e","databaseType":"CLOUD_SIDB","databaseSubType":"PDB","isCluster":"\u003cboolean\u003e","timeCreated":"\u003cdateTime\u003e","databaseVersion":"\u003cstring\u003e","dbSystemId":"\u003cstring\u003e","definedTags":{"in_5":{"dolor_e4":{},"quis_c":{}}},"deploymentType":"VM","freeformTags":{"sita":"\u003cstring\u003e","inc":"\u003cstring\u003e"},"managementOption":"BASIC","parentContainerId":"\u003cstring\u003e","storageSystemId":"\u003cstring\u003e","workloadType":"DW"},{"id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","name":"\u003cstring\u003e","databaseType":"CLOUD_SIDB","databaseSubType":"ACD","isCluster":"\u003cboolean\u003e","timeCreated":"\u003cdateTime\u003e","databaseVersion":"\u003cstring\u003e","dbSystemId":"\u003cstring\u003e","definedTags":{"amet87":{"dolor_f":{},"aliqua_3f":{},"elit_032":{},"laborum_a":{}},"laborum_c":{"mollit2c2":{},"ut_49d":{}}},"deploymentType":"EXADATA_CC","freeformTags":{"minim_05c":"\u003cstring\u003e","doloreee":"\u003cstring\u003e","pariaturdb":"\u003cstring\u003e"},"managementOption":"ADVANCED","parentContainerId":"\u003cstring\u003e","storageSystemId":"\u003cstring\u003e","workloadType":"AJD"}]}