History
Introduction
API Category
Making API Requests
Region APIs
Instance APIs
Cloud Hosting Cluster APIs
Image APIs
Instance Launch Template APIs
Placement Group APIs
Key APIs
Security Group APIs
Network APIs
Data Types
Error Codes
lb.api.qcloud.comAction field for this API is DescribeLBHealthStatus.Parameter | Required | Type | Description |
loadBalancerId | Yes | String | |
listenerId | No | String |
Parameter | Type | Description |
code | Int | |
message | String | API-related module error message description. |
codeDesc | String | Error code. For a successful operation, "Success" is returned. For a failed operation, a message describing the failure is returned. |
data | Array | Returned array. |
data array:Parameter | Type | Description |
ip | String | Private IP of the CVM. |
protocol | String | Protocol. |
port | Int | Port of the CVM. |
vport | Int | Listening port of the CLB instance. |
healthStatus | Int | Health check result. 1: healthy; 0: unhealthy. |
https://lb.api.qcloud.com/v2/index.php?Action=DescribeLBHealthStatus&loadBalancerId=lb-abcdefgh
{"code":0,"message" : "","codeDesc": "Success","data":[{"ip":"10.2.3.0","protocol":"TCP","port":8001,"vport":8001,"healthStatus":0}]}
文档反馈