tencent cloud

Feedback

DescribeLoadBalancersTaskResult

Last updated: 2021-03-31 17:40:02

    API Description

    This API is used to query the execution result of a task with request task ID as the input parameter for Cloud Load Balancer and classic CLB.

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

    Request Parameters

    The list below contains only the API request parameters. Common parameters should be added when you call the API. For more information, see Common Request Parameters. The Action field for this API is DescribeLoadBalancersTaskResult.

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

    Response Parameters

    Parameter Type Description
    code Int Common error code. 0: success; other values: failure. For more information, see Common Error Codes.
    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.
    data Array Returned array.

    Data structure:

    Parameter 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
        }
    }