All Products
Search
Document Center

CloudMonitor:DescribeUnhealthyHostAvailability

Last Updated:Mar 01, 2024

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
IdarrayYes
longYes

The ID of the availability monitoring task. Valid values of N: 1 to 20.

Response parameters

ParameterTypeDescriptionExample
object
Codestring

The HTTP status code.

Note The status code 200 indicates that the call was successful.
200
Messagestring

The returned message.

User not authorized to operate on the specified resource.
RequestIdstring

The ID of the request.

ACBDBB40-DFB6-4F4C-8957-51FFB233969C
Successboolean

Indicates whether the call was successful. Valid values:

  • true: The call was successful.
  • false: The call failed.
true
UnhealthyListobject []

The unhealthy instances that are detected by the specified availability monitoring tasks.

Idlong

The ID of the availability monitoring task.

123456
InstanceListarray

The unhealthy instances that are detected by the availability monitoring task.

string
i-a34b581****

Examples

Sample success responses

JSONformat

{
  "Code": "200",
  "Message": "User not authorized to operate on the specified resource.",
  "RequestId": "ACBDBB40-DFB6-4F4C-8957-51FFB233969C",
  "Success": true,
  "UnhealthyList": {
    "NodeTaskInstance": [
      {
        "Id": 123456,
        "InstanceList": {
          "String": [
            "i-a34b581****"
          ]
        }
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
400ParameterInvalidIllegal parameters.-
403AccessForbiddenUser not authorized to operate on the specified resource.-
404ResourceNotFoundThe specified resource is not found.The specified resource is not found.
500InternalErrorThe request processing has failed due to some unknown error.-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history