lb.api.qcloud.com
Action
field for this API is DescribeLoadBalancerBackends
.Parameter | Required | Type | Description |
loadBalancerId | Yes | 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. |
totalCount | Int | Total number of CVMs bound to this CLB instance. |
backendSet | Array | Array of real servers returned. |
backendSet
array:Parameter | Type | Description |
instanceId | String | CVM instance ID. |
unInstanceId | String | CVM instance ID. This parameter supports all operations of `instanceId`. We recommend using it. |
weight | Int | Weight of the CVM instance. |
instanceName | String | Name of the CVM instance. |
lanIp | String | Private IP of the CVM instance. |
wanIpSet | Array | Public IP of the CVM instance. |
instanceStatus | int | Status of the CVM instance. 1: failed; 2: running; 3: creating; 4: shut down; 5: returned; 6: returning; 7: restarting; 8: starting; 9: shutting down; 10: resetting password; 11: formatting; 12: creating image; 13: setting bandwidth; 14: reinstalling system; 19: upgrading; 21: hot migrating |
https://lb.api.qcloud.com/v2/index.php?Action=DescribeLoadBalancerBackends&loadBalancerId=lb-byhpduqt
{"code": 0,"message": "","codeDesc": "Success","totalCount": 1,"backendSet": [{"instanceId": "qcvmed9e93b0bb2784b043c983761e624639","unInstanceId": "ins-9o9ex9s0","instanceName": "test_k8s_1","lanIp": "10.104.222.152","wanIpSet": ["193.112.93.144"],"instanceStatus": 4,"weight": 44}]}
Was this page helpful?