Queries the topologies of a logical database and its physical database shards.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
LogicDbId | long | Yes | The ID of the logical database. You can call the ListLogicDatabases or SearchDatabase operation to query the ID of the logical database. | 134*** |
Tid | long | No | The ID of the tenant. Note
To view the tenant ID, 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.
| 43*** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "C5B8E84B-42B6-4374-AD5A-6264E1753378",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"DBTopology": {
"LogicDbId": 1234,
"LogicDbName": "logic_db_test",
"SearchName": "logic_db_test",
"Alias": "logic_db_test",
"DbType": "polardb",
"EnvType": "dev",
"DBTopologyInfoList": [
{
"DbId": 423532,
"SchemaName": "db_test@rm-xxx:3306",
"CatalogName": "def",
"SearchName": "db_test",
"DbType": "polardb",
"EnvType": "dev",
"InstanceId": 4325325,
"RegionId": "cn-hangzhou",
"InstanceResourceId": "rm-xxx",
"InstanceSource": "RDS"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history