DescribeLoadBalancers
1. API Description
This API (DescribeLoadBalancers) is used to query the list of load balancer instances.
2. Input Parameters
The following request parameter list only provides API request parameters.
regionId
No
String
Region ID.
vpcId
No
String
Filter by the VPC ID to which the load balance backend server belongs.
loadBalancerIds
No
Array of String
ID list of the load balance instance.
The maximum number of instance IDs is 100.
loadBalancerName
No
String
Load balance instance name.
Add * at the end to support fuzzy matching.
pageSize
No
Integer
Number of items in the current page result.
Default value: 20;
Maximum value: 1000.
pageNum
No
Integer
Page number of the current page result.
Default value: 1
resourceGroupId
No
String
Resource Group ID.
tagKeys
No
Array of String
Query using tag keys.
A maximum of 20 tag keys can be used.
securityGroupId
No
String
Security group ID.
You can call DescribeSecurityGroups to obtain details.
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 balance instances that meet the filtering conditions.
4. Code Example
Query the list of load balancer instances.
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