Modifying the Attributes of Application CLB Layer-7 Listener

Last updated: 2019-11-29 18:37:56

    API Description

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

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

    Parameter Name Required Type Description
    loadBalancerId Yes String ID of load balancer instance.
    listenerId Yes String ID of application-based load balancer listener, which can be queried via the API DescribeForwardLBListeners.
    listenerName No String Name of application-based load balancer listener.
    SSLMode No String Verification mode of HTTPS listeners. unidirectional: Unidirectional verification; mutual: Mutual verification.
    certId No String New server certificate ID of HTTPS listener.
    certCaId No String New client certificate ID of HTTPS listener.
    certCaContent No String New client certificate content of HTTPS listener.
    certCaName No String New client certificate name of HTTPS listener.
    certContent No String New server certificate content of HTTPS listener.
    certKey No String New server certificate key of HTTPS listener.
    certName No String New server certificate name of HTTPS listener.

    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.

    Example

    Request

    https://lb.api.qcloud.com/v2/index.php?Action=ModifyForwardLBSeventhListener
    &<Common request parameters>
    &loadBalancerId=lb-ltkip4do
    &listenerId=lbl-6hkiqc6c
    &SSLMode=unidirectional

    Response

    {
        "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
    Help