Modify the Domain Name of Application CLB layer-7 Listener

Last updated: 2019-11-29 18:40:42

API Description

This API (ModifyForwardLBRulesDomain) is used to modify the domain name under an application-based load balancer layer-7 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 ModifyForwardLBRulesDomain.

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.
domain Yes String An old domain name under the listener.
newDomain Yes String Length limit: 1-80. Three formats are supported: non-regular expression, wildcard and regular expression. Non-regular expressions can only contain letters, numbers, "-", and ".". For wildcard format, "*" can only be placed at the beginning or the end. Regular expressions must start with "~".

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.


&<Common request parameters>


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