DescribeLoadBalancers
1. API Description
This API (DescribeLoadBalancers) is used to query the information of one or more specified load balancing instances. Users can search for load balancer information based on the ID of the load balancer, the zone, and other information.
2. Input Parameters
The following request parameter list only provides API request parameters.
loadBalancerIds
No
Array of String
ID list of the load balance instance.
zoneId
No
String
Zone ID.
loadBalancerName
No
String
The name of the load balancer instance.
Fuzzy search supported.
pageNum
No
Integer
Number of pages returned.
Default value: 1 .
Default value: 1
pageSize
No
Integer
Number of items in the current page result.
Default value: 20 ;
Maximum value: 1000 .
resourceGroupId
No
String
The ID of the resource group.
tagKeys
No
Array of String
Query according to tag key.
You can query up to 20 tag keys in each request.
3. Output Parameters
requestId
String
The unique request ID, which is returned for each request.
RequestId is required for locating a problem.
totalCount
Integer
The total number of load balancers that meet the filtering conditions.
4. Code Example
Query the information of the load balancer instance by ID.
5. Developer Resources
Zenlayer Cloud API 2.0 integrates SDKs,to make it easier for you to call APIs. More programming languages will be supported.
6. Error Codes
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
HTTP Status Code
Error Code
Description
Last updated