Queries all Tair Serverless KV table instances in a specified workspace.
Operation description
Operation description
When calling this operation, you must specify the
InstanceIdparameter.The response includes basic information about each table, such as the table ID, name, bandwidth, and maximum number of connections.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeTairSkvDdbTable |
get |
*DBInstance
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance to query. |
tt-bp1zxszhcgatnx\*\*\*\* |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID, which is used to locate logs and troubleshoot issues. |
2363CEDF-C697-14B6-AB9E-C57A4AA0EAD4 |
| Tables |
object |
||
| Table |
array<object> |
The array of Table objects. |
|
|
array<object> |
The table object. |
||
| Bandwidth |
integer |
The bandwidth. |
96 |
| Connections |
integer |
The maximum number of connections. |
1000 |
| GlobalSecondaryIndexList |
object |
||
| GlobalSecondaryIndex |
array<object> |
The list of all GSI IDs under the table. |
|
|
object |
The GSI object. |
||
| GsiId |
string |
The GSI instance ID, which is globally unique. |
tt-gsi-xxxxxxxxx |
| IndexName |
string |
The index name. |
indexKey1 |
| TableId |
string |
The table ID, which is globally unique. |
tt-2zelkttksbyc12x6c |
| TableName |
string |
The table name, which is unique within the workspace. |
table1 |
Examples
Success response
JSON format
{
"RequestId": "2363CEDF-C697-14B6-AB9E-C57A4AA0EAD4",
"Tables": {
"Table": [
{
"Bandwidth": 96,
"Connections": 1000,
"GlobalSecondaryIndexList": {
"GlobalSecondaryIndex": [
{
"GsiId": "tt-gsi-xxxxxxxxx",
"IndexName": "indexKey1"
}
]
},
"TableId": "tt-2zelkttksbyc12x6c",
"TableName": "table1"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.