Queries the details of a physical database.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DbId | long | Yes | The ID of the physical database. You can call the SearchDatabase operation to obtain the ID. | 43153 |
Tid | long | No | The ID of the tenant. You can call the GetUserActiveTenant operation to query the ID of the tenant. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "7FAD400F-7A5C-4193-8F9A-39D86C4F0231",
"Database": {
"DatabaseId": "43125312",
"Host": "rm-xxxab3r272.mysql.rds.aliyuncs.com",
"CatalogName": "def",
"DbaName": "dmstest",
"State": "NORMAL",
"DbaId": "43253",
"SchemaName": "dmstest",
"InstanceId": "43215325",
"Port": 3306,
"EnvType": "product",
"Sid": "def",
"OwnerIdList": {
"OwnerIds": [
"43215325"
]
},
"Encoding": "utf8mb4",
"DbType": "mysql",
"OwnerNameList": {
"OwnerNames": [
"dmstest"
]
},
"SearchName": "dmstest@rm-xxxab3r272.mysql.rds.aliyuncs.com:3306",
"InstanceAlias": "test"
},
"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 |
---|---|---|
2023-05-18 | The response structure of the API has changed | View Change Details |