Queries the details of a logical database.
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, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant.
| 3*** |
DbId | string | Yes | The ID of the logical database. You can call the ListLogicDatabases or SearchDatabase operation to obtain the ID of the logical database. | 1*** |
Response parameters
Examples
Sample success responses
JSON
format
{
"LogicDatabase": {
"DatabaseId": "1***",
"OwnerIdList": {
"OwnerIds": [
"51****"
]
},
"DbType": "POLARDB",
"OwnerNameList": {
"OwnerNames": [
"owner_name"
]
},
"Logic": true,
"SchemaName": "test_logic_db",
"SearchName": "test_logic_db[test_logic_alias]",
"EnvType": "dev",
"Alias": "test_logic_alias",
"DatabaseIds": {
"DatabaseIds": [
0
]
}
},
"RequestId": "90260530-565C-42B9-A6E8-893481FE6AB6",
"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