Menanyakan detail instance terdistribusi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeGlobalDistributeCache |
get |
*DBInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| GlobalInstanceId |
string |
No |
ID instance terdistribusi. |
gr-bp14rkqrhac**** |
| PageNumber |
string |
No |
Nomor halaman. Nilai harus berupa bilangan bulat positif yang lebih besar dari 0 dan tidak boleh melebihi nilai maksimum tipe data Integer. Nilai default: 1. |
1 |
| PageSize |
string |
No |
Jumlah entri per halaman. |
20 |
| SubInstanceId |
string |
No |
ID instance anak. |
gr-bp1zcjlobkyrq**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageSize |
integer |
Jumlah entri yang dikembalikan per halaman. |
20 |
| RequestId |
string |
ID permintaan. |
F3F44BE3-5419-4B61-9BAC-E66E295A**** |
| PageNumber |
integer |
Nomor halaman. |
1 |
| TotalRecordCount |
integer |
Jumlah total entri yang dikembalikan. |
1 |
| GlobalDistributeCaches |
array<object> |
Detail instance terdistribusi. |
|
|
array<object> |
|||
| Status |
string |
Status instance terdistribusi. Nilai yang valid:
|
Normal |
| GlobalInstanceId |
string |
ID instance terdistribusi. |
gr-bp14rkqrhac**** |
| SubInstances |
array<object> |
Detail instance anak. |
|
|
object |
|||
| InstanceStatus |
string |
The state of the child instance. Valid values:
Catatan
For more information about instance states, 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 the following topics: |
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 |
Contoh
Respons sukses
JSONformat
{
"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"
}
]
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.