Query Results of CLB Async APIS

Last updated: 2019-11-29 18:45:38

    API Description

    This API (DescribeLoadBalancersTaskResult) is used to query the execution result of a task with request task ID as the input parameter for traditional and application-based load balancers.

    Domain name for API access: lb.api.qcloud.com

    Request Parameters

    The following request parameter list only provides the API request parameters. Common request parameters are required when the API is called. The Action field for this API is DescribeLoadBalancersTaskResult.

    Parameter Name Required Type Description
    requestId Yes Int Request task ID, which is obtained from the returned value of asynchronous API.

    Response Parameters

    Parameter Name Type Description
    code Int Common error code; 0: Successful; other values: Failed.
    message String Module error message description depending on API.
    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" is composed as follows:

    Parameter Name Type Description
    status Int Current task status. 0: Successful; 1: Failed; 2: In progress.

    Example

    Request

    https://lb.api.qcloud.com/v2/index.php?Action=DescribeLoadBalancersTaskResult
    &<Common request parameters>
    &requestId=6356081
    

    Response

    {
        "code": 0,
        "message": "",
        "codeDesc": "Success",
        "data": {
            "status": 0
        }
    }

    Was this page helpful?

    Was this page helpful?

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