Queries the databases in a database instance.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Tid | long | No | The ID of the tenant. Note
: To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see Manage DMS tenants.
| 3*** |
InstanceId | string | Yes | The ID of the instance. The valid value is returned if you call the ListInstances operation. The instance ID is not the ID of the RDS instance. | 12*** |
PageNumber | integer | Yes | The number of the page to return. | 1 |
PageSize | integer | No | The number of entries to return per page. | 10 |
Response parameters
Examples
Sample success responses
JSON
format
{
"TotalCount": 1,
"RequestId": "5541CDA6-F674-435C-81BD-40C2FB926CE3",
"DatabaseList": {
"Database": [
{
"DatabaseId": "1",
"Host": "xxx.xxx.xxx.xxx",
"CatalogName": "1",
"DbaName": "dba_user",
"State": "NORMAL",
"DbaId": "1",
"SchemaName": "test",
"InstanceId": "1",
"Port": 3306,
"EnvType": "dev",
"Sid": "test",
"OwnerIdList": {
"OwnerIds": [
"1"
]
},
"Encoding": "utf-8",
"DbType": "mysql",
"OwnerNameList": {
"OwnerNames": [
"owner_name"
]
},
"SearchName": "test@xxx.xxx.xxx.xxx:3306"
}
]
},
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history