Mengkueri data waktu proses kluster tertentu.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:QueryInstancesInfo |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
No |
ID kluster. |
mse-09k1q11**** |
| InstanceId |
string |
No |
ID instans. |
mse_prepaid_public_cn-tl32g1u9k01 |
| OrderId |
string |
No |
ID pesanan. |
20574710974**** |
| RegionId |
string |
No |
ID wilayah tempat instans berada. |
cn-hangzhou |
| RequestPars |
string |
No |
Parameter permintaan yang diperluas dalam format JSON. |
{} |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
BaseResult |
||
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Message |
string |
The message that is returned.
|
The request is successfully processed. |
| RequestId |
string |
The ID of the request. |
54973C90-F379-4372-9AA5-053A3F7**** |
| ErrorCode |
string |
The error code returned if the request failed. |
mse-100-000 |
| HttpCode |
string |
The HTTP status code. |
202 |
| Data |
array<object> |
The details of the data. |
|
|
object |
The details of the data. |
||
| HealthStatus |
string |
A reserved parameter. |
null |
| Role |
string |
A reserved parameter. |
null |
| PodName |
string |
The pod name. |
mse-xxxxx-xxxxx-reg-center-0-1 |
| Ip |
string |
The IP address of the pod. |
25.24.91.x |
| InternetIp |
string |
The public IP address. |
120.55.71.x |
| SingleTunnelVip |
string |
The internal IP address. |
172.16.66.x |
| CreationTimestamp |
string |
The creation time. |
2022-12-15T02:02:15Z |
| ClientPort |
string |
The enabled port. |
8848 |
| Zone |
string |
The zone ID. |
cn-hangzhou-k |
| ZoneDistributed |
boolean |
Indicates whether all pods in the cluster are distributed in the specified zones. |
true |
Contoh
Respons sukses
JSONformat
{
"Success": true,
"Message": "The request is successfully processed.\n",
"RequestId": "54973C90-F379-4372-9AA5-053A3F7****",
"ErrorCode": "mse-100-000",
"HttpCode": "202",
"Data": [
{
"HealthStatus": "null",
"Role": "null",
"PodName": "mse-xxxxx-xxxxx-reg-center-0-1",
"Ip": "25.24.91.x",
"InternetIp": "120.55.71.x",
"SingleTunnelVip": "172.16.66.x",
"CreationTimestamp": "2022-12-15T02:02:15Z",
"ClientPort": "8848",
"Zone": "cn-hangzhou-k",
"ZoneDistributed": true
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.