Modifying the Attributes of Application CLB Layer-4 Listener

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

    API Description

    This API (ModifyForwardLBFourthListener) is used to modify the attributes of application-based load balancer layer-4 listener.

    Domain name for API access:

    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 ModifyForwardLBFourthListener.

    Parameter Name Required Type Description
    loadBalancerId Yes String ID of load balancer instance, which can be queried via the API DescribeLoadBalancers.
    listenerId Yes String ID of application-based load balancer listener, which can be queried via the API DescribeForwardLBListeners.
    listenerName No String Listener name.
    sessionExpire No Int Session persistence duration. 0 means disabled. Value range: 30-3600 seconds.
    healthSwitch No Int Whether to enable health check: 1 (Enable) and 0 (Disable).
    timeOut No Int Response timeout. Value range: 2-60 seconds.
    intervalTime No Int Interval between health checks. Value range: 5-300.
    healthNum No Int Healthy threshold. Value range: 2-10.
    unhealthNum No Int Unhealthy threshold. Value range: 2-10.
    scheduler No String Forwarding method of the load balancer listener.
    Available values: wrr (polling by weight), least_conn (minimum number of connections).

    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.
    requestId Int Request task ID. The operation status can be queried via the API DescribeLoadBalancersTaskResult.


    &<Common request parameters>


        "code": 0,
        "message": "",
        "codeDesc": "Success",
        "requestId": 18642

    Was this page helpful?

    Was this page helpful?

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