Call the DescribeUnhealthyHostAvailability operation to query a list of unhealthy servers.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
array |
Yes |
The task ID. |
123456 |
|
integer |
No |
The task ID. |
123*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code. Note
A value of 200 indicates that the request was successful. |
200 |
| Message |
string |
The error message. |
User not authorized to operate on the specified resource. |
| RequestId |
string |
The request ID. |
ACBDBB40-DFB6-4F4C-8957-51FFB233969C |
| Success |
boolean |
Indicates whether the operation was successful. Valid values: -true: The operation was successful. -false: The operation failed. |
true |
| UnhealthyList |
object |
||
| NodeTaskInstance |
array<object> |
Information about the list of unhealthy servers. |
|
|
array<object> |
|||
| Id |
integer |
The task ID. |
123****** |
| InstanceList |
object |
||
| String |
array |
A list of instance IDs. |
|
|
string |
The instances. |
i-***** |
Examples
Success response
JSON format
{
"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-*****"
]
}
}
]
}
}
Error codes
|
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. | The specified resource is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.