Panggil operasi DescribeUnhealthyHostAvailability untuk meminta daftar server yang tidak sehat.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DescribeUnhealthyHostAvailability |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
array |
Yes |
ID tugas. |
|
|
integer |
No |
ID tugas. |
123*** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
Kode status. Catatan
Nilai 200 menunjukkan bahwa permintaan berhasil. |
200 |
| Message |
string |
Pesan kesalahan. |
User not authorized to operate on the specified resource. |
| RequestId |
string |
ID permintaan. |
ACBDBB40-DFB6-4F4C-8957-51FFB233969C |
| Success |
boolean |
Menunjukkan apakah operasi berhasil. Nilai yang valid: -true: Operasi berhasil. -false: Operasi gagal. |
true |
| UnhealthyList |
object |
||
| NodeTaskInstance |
array<object> |
Informasi tentang daftar server yang tidak sehat. |
|
|
array<object> |
|||
| Id |
integer |
The task ID. |
123****** |
| InstanceList |
object |
||
| String |
array |
A list of instance IDs. |
|
|
string |
The instances. |
i-***** |
Contoh
Respons sukses
JSONformat
{
"Code": "200",
"Message": "User not authorized to operate on the specified resource.",
"RequestId": "ACBDBB40-DFB6-4F4C-8957-51FFB233969C",
"Success": true,
"UnhealthyList": {
"NodeTaskInstance": [
{
"Id": 0,
"InstanceList": {
"String": [
"i-*****"
]
}
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.