Lists Managed MySql Databases.
GET {{baseUrl}}/managedMySqlDatabases?compartmentId=<string>&page=<string>&limit=10&sortBy=TIMECREATED&sortOrder=ASC
Gets the list of Managed MySQL Databases in a specific compartment.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | (Required) The OCID of the compartment. | |
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":[{"dbName":"\u003cstring\u003e","name":"\u003cstring\u003e","dbVersion":"\u003cstring\u003e","id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","timeCreated":"\u003cdateTime\u003e"},{"dbName":"\u003cstring\u003e","name":"\u003cstring\u003e","dbVersion":"\u003cstring\u003e","id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","timeCreated":"\u003cdateTime\u003e"}]}