Queries the routing algorithms of a logical table.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListLogicTableRouteConfig |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TableId |
integer |
Yes |
The ID of the logical table. You can call the ListLogicTables operation to obtain the logical table ID. |
1**** |
| Tid |
integer |
No |
The ID of the tenant. You can call the GetUserActiveTenant operation to obtain the tenant ID. |
3*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
7C6A0D7D-B034-59F6-854C-32425AC6**** |
| ErrorCode |
string |
The error code. |
MissingTableId |
| ErrorMessage |
string |
The error message. |
TableId is mandatory for this action. |
| Success |
boolean |
Whether the request was successful. Valid values:
|
true |
| LogicTableRouteConfigList |
object |
||
| LogicTableRouteConfig |
array<object> |
The routing algorithms. |
|
|
object |
|||
| RouteKey |
string |
The unique key of the routing algorithm. |
1 |
| RouteExpr |
string |
The routing algorithm expression. |
#id#%16\t |
| TableId |
integer |
The ID of the logical table. |
4**** |
Examples
Success response
JSON format
{
"RequestId": "7C6A0D7D-B034-59F6-854C-32425AC6****",
"ErrorCode": "MissingTableId",
"ErrorMessage": "TableId is mandatory for this action.",
"Success": true,
"LogicTableRouteConfigList": {
"LogicTableRouteConfig": [
{
"RouteKey": "1",
"RouteExpr": "#id#%16\\t",
"TableId": 0
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.