CreateRule

Last Updated At: 2026-08-02 00:05:23

1. Interface Description

Interface request domain name: clb.api3.convergecloud.com.

This API (CreateRule) is used to create a forwarding rule under an existing layer-7 CLB listener, where real servers must be bound to the rule instead of the listener.
This is an async API. After it returns a successful result, you need to call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.

Default interface request rate limit: 20 times per second.

Interface update time: 2020-01-10 20:35:19.

The interface only verifies the signature but does not authenticate.

2. Input Parameters

The following list of request parameters only lists interface request parameters and some public parameters, For a complete list of public parameters see public request parameters.

Parameter name Required Allow NULL Type Description
Action Yes No String Public parameter, The value of this interface: CreateRule
Version Yes No String Public parameter, The value of this interface: 2018-03-17
Region No No String Public parameter,Regional information A list of supported geographies is available through the DescribeRegions interface
LoadBalancerId Yes No String CLB instance ID
Example: lb-cuxwji93
ListenerId Yes No String Listener ID
Example: lbl-4fbxji93*
Rules Yes No Array of RuleInput Information of the new forwarding rule
Example:View

3. Output Parameters

Parameter name Type Description
LocationIds Array of String Unique identification array of created forwarding rules
Example: ["loc-ho6lvh8m"]
RequestId String Unique request id, Each request will return. The RequestId of the request needs to be provided when locating the problem.

4. Error Code

The following lists only the error codes related to the interface business logic, For other error codes, see public ErrorCode.

Error Code Description
InvalidParameter Wrong parameter.
InvalidParameterValue Incorrect parameter value
InternalError Internal Error
UnauthorizedOperation Unauthorized operation
ResourceInsufficient Insufficient resources
LimitExceeded Quota limit reached
FailedOperation Failed to operate.
InvalidParameter.FormatError Incorrect parameter format
InvalidParameterValue.Length Invalid parameter length.
MissingParameter Missing parameter error.