Queries the details of a distributed Tair (Redis OSS-compatible) instance.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeGlobalDistributeCache |
get |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GlobalInstanceId |
string |
No |
The ID of the distributed instance. |
gr-bp14rkqrhac**** |
| PageNumber |
string |
No |
The page number to return. The value must be an integer greater than 0. Default value: 1. |
1 |
| PageSize |
string |
No |
The number of entries to return per page. |
20 |
| SubInstanceId |
string |
No |
The ID of the child instance attached to the distributed instance. |
gr-bp1zcjlobkyrq**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageSize |
integer |
The number of entries returned per page. |
20 |
| RequestId |
string |
The ID of the request. |
F3F44BE3-5419-4B61-9BAC-E66E295A**** |
| PageNumber |
integer |
The page number of the returned page. |
1 |
| TotalRecordCount |
integer |
The total number of entries returned. |
1 |
| GlobalDistributeCaches |
array<object> |
Details of the distributed instance. |
|
|
array<object> |
|||
| Status |
string |
The state of the distributed instance. Valid values:
|
Normal |
| GlobalInstanceId |
string |
The ID of the distributed instance. |
gr-bp14rkqrhac**** |
| SubInstances |
array<object> |
Details of the child instances. |
|
|
object |
|||
| InstanceStatus |
string |
The state of the child instance. Valid values:
Note
For more information, see Instance states and impacts. |
Normal |
| InstanceID |
string |
The ID of the child instance. |
r-bp1zxszhcgatnx**** |
| InstanceClass |
string |
The instance type of the child instance. For more information, see: |
redis.amber.logic.sharding.2g.2db.0rodb.6proxy.multithread |
| GlobalInstanceId |
string |
The ID of the distributed instance. |
gr-bp14rkqrhac**** |
| RegionId |
string |
The ID of the region. |
cn-hangzhou |
Examples
Success response
JSON format
{
"PageSize": 20,
"RequestId": "F3F44BE3-5419-4B61-9BAC-E66E295A****",
"PageNumber": 1,
"TotalRecordCount": 1,
"GlobalDistributeCaches": [
{
"Status": "Normal",
"GlobalInstanceId": "gr-bp14rkqrhac****",
"SubInstances": [
{
"InstanceStatus": "Normal",
"InstanceID": "r-bp1zxszhcgatnx****",
"InstanceClass": "redis.amber.logic.sharding.2g.2db.0rodb.6proxy.multithread",
"GlobalInstanceId": "gr-bp14rkqrhac****",
"RegionId": "cn-hangzhou"
}
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.