DescribeLoadBalancersDetail

Last updated: 2020-10-16 18:26:18

1. API Description

Domain name for API request: clb.tencentcloudapi.com.

This API is used to query CLB instance details, including listener, rules, and target real servers.

A maximum of 20 requests can be initiated per second for this API.

Note: This API supports Finance regions. If the common parameter Region is a Finance region, a domain name with the Finance region needs to be specified, for example: clb.ap-shanghai-fsi.tencentcloudapi.com

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common parameter. The value used for this API: DescribeLoadBalancersDetail.
Version Yes String Common parameter. The value used for this API: 2018-03-17.
Region Yes String Common parameter. For more information, please see the list of regions supported by the product.
Limit No Integer Number of CLB instance lists returned. Default value: 20; maximum value: 100.
Offset No Integer Starting offset of the CLB instance list returned. Default value: 0
Fields.N No Array of String List of fields to be returned. The LoadBalancerId and LoadBalancerName are returned by default.
TargetType No String Target type. Valid values: NODE and GROUP. If the list of fields contains TargetId, TargetAddress, TargetPort, TargetWeight and other fields, Target of the target group or non-target group must be exported.
Filters.N No Array of Filter Filter condition of querying lists describing CLB instance details:
  • loadbalancer-id - String - Required: no - (Filter condition) CLB instance ID, such as "lb-12345678".
  • project-id - String - Required: no - (Filter condition) Project ID, such as "0" and "123".
  • network - String - Required: no - (Filter condition) Network type of the CLB instance, such as "Public" and "Private".
  • vip - String - Required: no - (Filter condition) CLB instance VIP, such as "1.1.1.1" and "2204::22:3".
  • target-ip - String - Required: no - (Filter condition) Private IP of the target real servers, such as"1.1.1.1" and "2203::214:4".
  • vpcid - String - Required: no - (Filter condition) Identifier of the VPC instance to which the CLB instance belongs, such as "vpc-12345678".
  • zone - String - Required: no - (Filter condition) Availability zone where the CLB instance resides, such as "ap-guangzhou-1".
  • tag-key - String - Required: no - (Filter condition) Tag key of the CLB instance, such as "name".
  • tag:* - String - Required: no - (Filter condition) CLB instance tag, followed by tag key after the colon ':'. For example, use {"Name": "tag:name","Values": ["zhangsan", "lisi"]} to filter the tag key “name” with the tag value “zhangsan” and “lisi”.
  • fuzzy-search - String - Required: no - (Filter condition) Fuzzy search for CLB instance VIP and CLB instance name, such as "1.1".
  • 3. Output Parameters

    Parameter Name Type Description
    TotalCount Integer Total number of lists describing CLB instance details.
    LoadBalancerDetailSet Array of LoadBalancerDetail List of CLB instance details.
    Note: this field may return null, indicating that no valid values can be obtained.
    RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

    4. Example

    Example1 Querying CLB instance details

    Input Example

    https://clb.tencentcloudapi.com/?Action=DescribeLoadBalancersDetail
    &Offset=0
    &Limit=20
    &<Common request parameters>

    Output Example

    {
      "Response": {
        "TotalCount": 0,
        "LoadBalancerDetailSet": [],
        "RequestId": "d09b91ba-a81e-4ca3-b423-c64e60127c64"
      }
    }

    5. Developer Resources

    API Explorer

    This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

    Error Code Description
    FailedOperation Operation failed.
    InternalError Internal error.
    InvalidParameter Parameter error.
    InvalidParameter.FormatError Wrong parameter format.
    InvalidParameterValue Incorrect parameter value.
    InvalidParameterValue.InvalidFilter Incorrect Filter parameter.
    InvalidParameterValue.Range Wrong parameter value range.
    UnauthorizedOperation Unauthorized operation.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help