All Products
Search
Document Center

Server Load Balancer:CreateRules

最終更新日:Sep 11, 2024

Creates one or more forwarding rules at a time.

Operation description

When you call this operation, take note of the following limits:

  • When you configure the Redirect action, you can use the default value for the HttpCode parameter but you cannot use the default values for all of the other parameters.

  • If you specify the Rewrite action and other actions in a forwarding rule, make sure that one of the actions is ForwardGroup.

  • CreateRules is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the ListRules operation to query the status of forwarding rules.

    • If forwarding rules are in the Provisioning state, the forwarding rules are being created.
    • If forwarding rules are in the Available state, the forwarding rules have been created.
  • You can set RuleConditions and RuleActions to add conditions and actions to a forwarding rule. Take note of the following limits on the number of conditions and the number of actions in each forwarding rule:

    • Limits on conditions: You can specify at most 5 conditions if you use a basic Application Load Balancer (ALB) instance, at most 10 conditions if you use a standard ALB instance, and at most 10 conditions if you use a WAF-enabled ALB instance.
    • Limits on actions: You can specify at most 3 actions if you use a basic ALB instance, at most 5 actions if you use a standard ALB instance, and at most 10 actions if you use a WAF-enabled ALB instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
alb:CreateRulescreate
  • LoadBalancer
    acs:alb:{#regionId}:{#accountId}:loadbalancer/{#loadbalancerId}
  • ServerGroup
    acs:alb:{#regionId}:{#accountId}:servergroup/{#servergroupId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ListenerIdstringYes

The ID of the Application Load Balancer (ALB) instance.

lsr-bp1bpn0kn908w4nbw****
ClientTokenstringNo

The client token that is used to ensure the idempotence of the request.

You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.

Note If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
5A2CFF0E-5718-45B5-9D4D-70B3FF3898
DryRunbooleanNo

Specifies whether to perform only a dry run, without performing the actual request. Valid values:

  • true: performs a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the DryRunOperation error code is returned.
  • false (default): performs a dry run and sends the request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
false
Rulesarray<object>Yes

The forwarding rules. You can specify at most 10 forwarding rules in each request.

objectYes

The configurations of the forwarding rules.

PriorityintegerYes

The priority of the forwarding rule. Valid values: 1 to 10000. A lower value specifies a higher priority. You can specify at most 10 priorities.

Note The priorities of forwarding rules for the same listener must be unique.
10
RuleActionsarray<object>Yes

The actions of the forwarding rule.

objectYes

The configurations of the action.

FixedResponseConfigobjectNo

The configuration of the custom response. You can specify at most 20 custom responses.

ContentstringNo

The content of the custom response. The content cannot exceed 1 KB in size, and can contain only ASCII characters.

dssacav
ContentTypestringNo

The format of the content. Valid values:

  • text/plain
  • text/css
  • text/html
  • application/javascript
  • application/json
text/plain
HttpCodestringNo

The HTTP status code in responses. Valid values: 2xx, 4xx, 5xx. The value must be a numeric string. x must be a digit.

HTTP_200
ForwardGroupConfigobjectNo

The configuration of the server group. You can specify at most 20 server groups.

ServerGroupTuplesarray<object>No

The server groups to which requests are forwarded.

objectNo

The server group to which requests are forwarded.

ServerGroupIdstringNo

The server group to which requests are forwarded.

sgp-k86c1ov501id6p****
WeightintegerNo

The weight of the server group. A larger value specifies a higher weight. A server group with a higher weight receives more requests. Valid values: 0 to 100.

  • If the number of destination server groups is 1, the default weight of the server group is 100, unless you specify a weight.
  • If the number of destination server groups is larger than 1, you must specify a weight.
100
ServerGroupStickySessionobjectNo

The configuration of session persistence for the server groups.

EnabledbooleanNo

Specifies whether to enable session persistence. Valid values:

  • true: enables session persistence.
  • false (default): disables session persistence.
false
TimeoutintegerNo

The timeout period of sessions. Unit: seconds Valid values: 1 to 86400.

2
InsertHeaderConfigobjectNo

The key of the header to be inserted. You can specify at most 20 headers.

KeystringNo

The key of the header. The header key must be 1 to 40 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The header keys specified by InsertHeaderConfig must be unique.

Note The following header keys are not supported: slb-id, slb-ip, x-forwarded-for, x-forwarded-proto, x-forwarded-eip, x-forwarded-port, x-forwarded-client-srcport, connection, upgrade, content-length, transfer-encoding, keep-alive, te, host, cookie, remoteip, and authority. The header keys are not case-sensitive.
key
ValuestringNo

The value of the header to be inserted.

  • If ValueType is set to SystemDefined, you can set the Value parameter to one of the following values:

    • ClientSrcPort: the client port.
    • ClientSrcIp: the IP address of the client.
    • Protocol: the request protocol (HTTP or HTTPS).
    • SLBId: the ID of the ALB instance.
    • SLBPort: the listener port.
  • If ValueType is set to UserDefined, you can specify a custom header value. The header value must be 1 to 128 characters in length, and can contain wildcard characters, such as asterisks (*) and question marks (?), and printable characters whose ASCII values are larger than or equal to 32 and smaller than 127. The header value cannot start or end with a space character.

  • If ValueType is set to ReferenceHeader, you can reference a value from request headers. The value must be 1 to 128 characters in length, and can contain lowercase letters, digits, hyphens (-), and underscores (_).

UserDefined
ValueTypestringNo

The type of the header. Valid values:

  • UserDefined: a custom header
  • ReferenceHeader: a header that references one of the request headers
  • SystemDefined: a system-defined header
UserDefined
OrderintegerYes

The priority of the action. Valid values: 1 to 50000. A lower value indicates a higher priority. The actions of a forwarding rule are applied in descending order of priority. This parameter cannot empty. The priority of each action within a forwarding rule must be unique. You can specify at most 20 action priorities.

1
RedirectConfigobjectNo

The redirect configuration. You can specify at most 20 redirects.

HoststringNo

The hostname to which requests are forwarded. Valid values:

  • ${host} (default): If ${host} is returned, no other character is appended.

  • The hostname must meet the following requirements:

    • The hostname must be 3 to 128 characters in length, and can contain lowercase letters, digits, hyphens (-), periods (.), asterisks (*), and question marks (?).
    • The hostname must contain at least one period (.) but cannot start or end with a period (.).
    • The rightmost domain label can contain only letters and wildcard characters. It does not contain digits or hyphens (-).
    • The domain labels cannot start or end with a hyphen (-).
    • You can use an asterisk (*) or a question mark (?) anywhere in a domain label as wildcard characters.
www.example.com
HttpCodestringNo

The HTTP status code that indicates the redirect type. Valid values: 301, 302, 303, 307, and 308.

301
PathstringNo

The URL to which requests are redirected. Valid values:

  • Default value: ${path}. ${host}, ${protocol}, and ${port} are also supported. Each variable can be specified only once. You can specify one or more of the preceding variables in each request. You can also combine them with a custom value.

  • The URL must meet the following requirements:

    • The URL must be 1 to 128 characters in length.
    • The URL must start with a forward slash (/) and can contain letters, digits, and the following special characters: $ - _ .+ / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ]^ , ". You can use asterisks (*) and question marks (?) as wildcard characters.
    • The URL is case-sensitive.
/test
PortstringNo

The port to which requests are distributed.

  • ${port} (default): If you set the value to ${port}, you cannot add other characters to the value.
  • You can also enter a port number. Valid values: 1 to 63335.
10
ProtocolstringNo

The redirect protocol. Valid values:

  • ${protocol} (default): If ${protocol} is returned, no other character is appended.
  • HTTP or HTTPS
Note HTTPS listeners supports only HTTPS redirects.
HTTP
QuerystringNo

The query string to which requests are redirected.

  • Default value: ${query}. ${host}, ${protocol}, and ${port} are also supported. Each variable can be specified only once. The preceding variables can be used at the same time or combined with a custom value.

  • The query string must meet the following requirements:

    • The query string must be 1 to 128 characters in length.
    • The query string can contain printable characters, but cannot contain space characters, the special characters # [ ] { } \ | < > &, or uppercase letters.
quert
RewriteConfigobjectNo

The rewrite configuration. You can specify at most 20 rewrites.

HoststringNo

The hostname to which requests are rewritten. Valid values:

  • ${host} (default): If you set the value to ${host}, you cannot append other characters.

  • The hostname must meet the following requirements:

    • The hostname must be 3 to 128 characters in length, and can contain lowercase letters, digits, hyphens (-), periods (.), asterisks (*), and question marks (?).
    • The hostname must contain at least one period (.) but cannot start or end with a period (.).
    • The rightmost domain label can contain only letters and wildcard characters. It does not contain digits or hyphens (-).
    • The domain labels cannot start or end with hyphens (-). You can use asterisks (*) and question marks (?) anywhere in a domain label as wildcard characters.
www.example.com
PathstringNo

The URL to which requests are redirected. Valid values:

  • Default value: ${path}. ${host}, ${protocol}, and ${port} are also supported. Each variable can be specified only once. You can specify one or more of the preceding variables in each request. You can also combine them with a custom value.

  • The URL must meet the following requirements:

    • The URL must be 1 to 128 characters in length.
    • The URL must start with a forward slash (/) and can contain letters, digits, and the following special characters: $ - _ .+ / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ]^ , ". You can use asterisks (*) and question marks (?) as wildcard characters.
    • The URL is case-sensitive.
/tsdf
QuerystringNo

The query string of the URL to which requests are forwarded.

  • Default value: ${query}. ${host}, ${protocol}, and ${port} are also supported. Each variable can be specified only once. The preceding variables can be used at the same time or combined with a custom value.

  • The query string must meet the following requirements:

    • The query string must be 1 to 128 characters in length.
    • The query string can contain printable characters, but cannot contain space characters, the special characters # [ ] { } \ | < > &, or uppercase letters.
quedsa
TypestringYes

The action. You can specify at most 11 types of action. Valid values:

  • ForwardGroup: distributes requests to multiple vServer groups.
  • Redirect: redirects requests.
  • FixedResponse: returns a custom response.
  • Rewrite: rewrites requests.
  • InsertHeader: inserts headers.
  • RemoveHeaderConfig: deletes a header.
  • TrafficLimit: throttles traffic.
  • TrafficMirror: mirrors network traffic.
  • Cors: enables cross-origin resource sharing (CORS).

You can specify the last action and the actions that you want to perform before the last action:

  • FinalType: Each forwarding rule can contain only one FinalType action, which is performed at the end. You can specify only one of ForwardGroup, Redirect, and FixedResponse.
  • ExtType: Each forwarding rule can contain one or more ExtType actions, which are performed before the FinalType action. If you want to specify an ExtType action, you must also specify a FinalType action. You can specify multiple InsertHeader actions or one Rewrite action.
ForwardGroup
TrafficLimitConfigobjectNo

The configuration of traffic throttling. You can specify at most 20 traffic throttling rules.

QPSintegerNo

The number of queries per second (QPS). Valid values: 1 to 1000000.

100
PerIpQpsintegerNo

The number of requests per IP address. Value values: 1 to 1000000.

Note If both the QPS and PerIpQps parameters are specified, the value of the QPS parameter is smaller than the value of the PerIpQps parameter.
80
TrafficMirrorConfigobjectNo

The configuration of traffic mirroring. You can specify at most 20 traffic mirroring rules.

TargetTypestringNo

The type of target to which network traffic is mirrored. Valid values:

  • ForwardGroupMirror: a server group.
ForwardGroupMirror
MirrorGroupConfigobjectNo

The configuration of the server group to which traffic is mirrored.

ServerGroupTuplesarray<object>No

The server group to which traffic is mirrored.

objectNo

The server group to which traffic is mirrored.

ServerGroupIdstringNo

The server group ID.

srg-00mkgijak0w4qgz9****
RemoveHeaderConfigobjectNo

The HTTP header to be removed.

KeystringNo

The key of the header to be removed. The header key must be 1 to 40 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The header keys specified in RemoveHeader must be unique.

  • If Direction is set to Request, the following header keys are not supported: slb-id, slb-ip, x-forwarded-for, x-forwarded-proto, x-forwarded-eip, x-forwarded-port, x-forwarded-client-srcport, connection, upgrade, content-length, transfer-encoding, keep-alive, te, host, cookie, remoteip, and authority. The header keys are not case-sensitive.
  • If Direction is set to Response, the following header keys are not supported: connection, upgrade, content-length, and transfer-encoding. The header keys are not case-sensitive.
test
CorsConfigobjectNo

The CORS configuration.

AllowOriginarrayNo

The trusted origins of CORS requests. One or more values are supported. Asterisks (*) can be used as wildcard characters.

  • Each value must start with http:// or https://, which must be followed by a valid domain name, including top-level domain names. Example: http://*.test.abc.example.com.
  • You can specify a port in each value or leave the port empty. Valid values: 1 to 65535.
stringNo

The trusted origin of CORS requests.

http://example.com
AllowMethodsarrayNo

The trusted HTTP methods of CORS requests.

stringNo

The trusted HTTP method of CORS requests. Valid values:

  • GET
  • POST
  • PUT
  • DELETE
  • HEAD
  • OPTIONS
  • PATCH
GET
AllowHeadersarrayNo

The trusted headers of CORS requests.

stringNo

The trusted headers of CORS requests. One or more values are supported. Asterisks (*) can be used as wildcard characters. Multiple values are separated by commas (,). Each value can be up to 32 characters in length, and can contain only letters and digits. It cannot start or end with an underscore (_) or a hyphen (-).

test_123
ExposeHeadersarrayNo

The headers that can be exposed.

stringNo

The header that can be exposed. One or more values are supported. Asterisks (*) can be used as wildcard characters. Multiple values are separated by commas (,). Each value can be up to 32 characters in length, and can contain only letters and digits. It cannot start or end with an underscore (_) or a hyphen (-).

test_123
AllowCredentialsstringNo

Specifies whether to allow credentials to be carried in CORS requests. Valid values:

  • on: allows credentials to be carried in CORS requests.
  • off: does not allow credentials to be carried in CORS requests.
on
MaxAgelongNo

The maximum cache time of dry run requests in the browser. Unit: seconds.

Valid values: -1 to 172800.

1000
RuleConditionsarray<object>Yes

The match conditions of the forwarding rule.

objectYes

The match conditions of the forwarding rule.

CookieConfigobjectNo

The key-value pairs of the cookie. You can specify at most 20 cookies.

Valuesarray<object>No

The cookie value.

objectNo

The cookie value.

KeystringNo

The cookie key.

  • The cookie key must be 1 to 100 characters in length.
  • You can use asterisks (*) and question marks (?) as wildcard characters.
  • The cookie key can contain printable characters, but cannot contain uppercase letters, space characters, or the following special characters: ; # [ ] { } \ | < > &.
test
ValuestringNo

The cookie value.

  • The cookie value must be 1 to 100 characters in length.
  • You can use asterisks (*) and question marks (?) as wildcard characters.
  • The cookie value can contain printable characters, but cannot contain uppercase letters, space characters, or the following special characters: ; # [ ] { } \ | < > &.
test
HeaderConfigobjectNo

The configuration of the header. You can specify at most 20 headers.

KeystringNo

The header key.

  • The header key must be 1 to 40 characters in length,
  • The header key can contain letters, digits, hyphens (-), and underscores (_).
  • Cookie and Host are not supported.
Port
ValuesarrayNo

The header values.

stringNo

The header values. The header values within a forwarding rule must be unique.

  • The header value must be 1 to 128 characters in length.
  • The header value can contain asterisks (*), question marks (?), and other printable characters whose ASCII values are larger than or equal to 32 and smaller than 127.
  • The value cannot start or end with a space character.
5006
HostConfigobjectNo

The configuration of the hosts.

ValuesarrayNo

The hostname. You can specify at most 20 hosts.

stringNo

The hostname. A forwarding rule can contain only one unique hostname.

  • The hostname must be 3 to 128 characters in length, and can contain lowercase letters, digits, hyphens (-), periods (.), asterisks (*), and question marks (?).
  • The hostname must contain at least one period (.) but cannot start or end with a period (.).
  • The rightmost domain label can contain only letters and wildcard characters. It does not contain digits or hyphens (-).
  • The domain labels cannot start or end with hyphens (-). You can use asterisks (*) and question marks (?) anywhere in a domain label as wildcard characters.
www.example.com
MethodConfigobjectNo

The configurations of the request methods.

ValuesarrayNo

The request methods. You can specify at most 20 request methods.

stringNo

The request method. Valid values: HEAD, GET, POST, OPTIONS, PUT, PATCH, and DELETE.

PUT
PathConfigobjectNo

The configurations of the forwarding URLs.

ValuesarrayNo

The forwarding URLs. You can specify at most 20 forwarding URLs.

stringNo

The URL to which requests are forwarded. The URL must meet the following requirements:

  • The URL must be 1 to 128 characters in length.
  • The URL must start with a forward slash (/) and can contain letters, digits, and the following special characters: $ - _ .+ / & ~ @ :. It cannot contain the following special characters: " % # ; ! ( ) [ ]^ , ". You can use asterisks (*) and question marks (?) as wildcard characters.
  • The URL is case-sensitive.
/test
QueryStringConfigobjectNo

The configurations of the query strings. You can specify at most 20 query strings.

Valuesarray<object>No

The configurations of the query string.

objectNo

The configurations of the query string.

KeystringNo

They key of the query string.

  • The key must be 1 to 100 characters in length.
  • You can use asterisks (*) and question marks (?) as wildcards. The key can contain printable characters, excluding uppercase letters, space characters, and the following special characters: # [ ] { } \ | < > &.
test
ValuestringNo

The value of the query string.

  • The value must be 1 to 128 characters in length,
  • The value can contain printable characters, excluding uppercase letters, space characters, and the following special characters: # [ ] { } \ | < > &. You can use asterisks (*) and question marks (?) as wildcard characters.
test
ResponseHeaderConfigobjectNo

The configuration of the header. You can specify at most 20 headers.

KeystringNo

The key of the header.

  • The header key must be 1 to 40 characters in length.
  • The header key can contain lowercase letters, digits, hyphens (-), and underscores (_).
  • Cookie and Host are not supported.
Port
ValuesarrayNo

The value of the header.

stringNo

The value of the header.

  • The value must be 1 to 128 characters in length,
  • The header value can contain printable characters whose ASCII values are larger than or equal to 32 and smaller than 127, lowercase letters, asterisks (*), and question marks (?).
  • The value cannot start or end with a space character.
5006
ResponseStatusCodeConfigobjectNo

The configurations of the response status codes.

ValuesarrayNo

The response status codes.

stringNo

The response status code.

200
TypestringYes

The type of forwarding rule. You can specify at most seven types of forwarding rules. Valid values:

  • Host: Requests are forwarded based on hosts.
  • Path: Requests are forwarded based on URLs.
  • Header: Requests are forwarded based on HTTP headers.
  • QueryString: Requests are forwarded based on query strings.
  • Method: Requests are forwarded based on request methods.
  • Cookie: Requests are forwarded based on cookies.
  • SourceIp: Requests are forwarded based on source IP addresses.
  • ResponseHeader: Requests are forwarded based on HTTP response headers.
  • ResponseStatusCode: Requests are forwarded based on response status codes.
Host
SourceIpConfigobjectNo

Traffic matching based on source IP addresses. This parameter is required and valid when Type is set to SourceIP. You can specify up to five IP addresses or CIDR blocks in the SourceIpConfig parameter.

ValuesarrayNo

Traffic matching based on source IP addresses.

stringNo

You can specify one or more IP addresses, including CIDR blocks.

You can specify up to five IP addresses or CIDR blocks in the SourceIpConfig parameter.

192.168.0.0/32
RuleNamestringYes

The name of the forwarding rule. You can specify at most 20 rule names.

  • The name must be 2 to 128 characters in length.
  • The name can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
test
DirectionstringNo

The direction to which the forwarding rule is applied. You can specify only one direction. Valid values:

  • Request (default): The forwarding rule applies to requests. Requests sent from clients to ALB are matches against the match conditions and processed based on the rule actions.
  • Response: The forwarding rule applies to responses. Responses from backend servers to ALB are matches against the match conditions and processed based on the rule actions.
Note Basic ALB instances do not support forwarding rules applied to the Response direction.
Request
Tagarray<object>No

The tags.

objectNo

The tag.

KeystringNo

The tag key. The tag key can be up to 128 characters in length. It cannot start with aliyun or acs: and cannot contain http:// or https://.

env
ValuestringNo

The tag value. The tag value can be up to 128 characters in length. It cannot start with aliyun or acs: and cannot contain http:// or https://.

product

Response parameters

ParameterTypeDescriptionExample
object

Creates one or more forwarding rules at a time.

JobIdstring

The ID of the asynchronous task.

72dcd26b-f12d-4c27-b3af-18f6aed5****
RequestIdstring

The request ID.

365F4154-92F6-4AE4-92F8-7FF34B540710
RuleIdsarray<object>

The priority of the forwarding rule. Valid values: 1 to 10000. A lower value specifies a higher priority.

Note The priorities of the forwarding rules created for the same listener is unique.
object
RuleIdstring

The forwarding rule ID.

rule-a3x3pg1yohq3lq****
Priorityinteger

The priority of the forwarding rule. Valid values: 1 to 10000. A smaller value indicates a higher priority.

Note The priorities of the forwarding rules created for the same listener must be unique.
10

Examples

Sample success responses

JSONformat

{
  "JobId": "72dcd26b-f12d-4c27-b3af-18f6aed5****",
  "RequestId": "365F4154-92F6-4AE4-92F8-7FF34B540710",
  "RuleIds": [
    {
      "RuleId": "rule-a3x3pg1yohq3lq****",
      "Priority": 10
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
400IncorrectStatus.ListenerThe status of %s [%s] is incorrect.The status of %s [%s] is incorrect.
400OperationDenied.IpGroupCanNotUsedForMirrorActionThe operation is not allowed because of %s.The operation is not allowed because of %s.
400OperationDenied.SameGroupForForwardAndMirrorActionThe operation is not allowed because of %s.The operation is not allowed because of %s.
400OperationDenied.GRPCServerGroupThe operation is not allowed because of %s.The operation is not allowed because of %s.
400Conflict.PriorityThere is already %s having the same configuration with %s.There is already %s having the same configuration with %s.
400ResourceQuotaExceeded.LoadBalancerRulesNumThe quota of %s is exceeded for resource %s, usage %s/%s.The quota of %s is exceeded for resource %s. Usage: %s/%s.
400ResourceQuotaExceeded.ServerGroupAttachedNumThe quota of %s is exceeded for resource %s, usage %s/%s.The quota of %s is exceeded for resource %s, usage %s/%s.
400ResourceQuotaExceeded.LoadBalancerServersNumThe quota of %s is exceeded for resource %s, usage %s/%s.The quota of %s is exceeded for resource %s. Usage: %s/%s.
400ResourceQuotaExceeded.ServerAddedNumThe quota of %s is exceeded for resource %s, usage %s/%s.The quota of %s is exceeded for resource %s. Usage: %s/%s.
400QuotaExceeded.RuleWildcardsNumThe quota of %s is exceeded, usage %s/%s.The quota of %s is exceeded, usage %s/%s.
400QuotaExceeded.RuleMatchEvaluationsNumThe quota of %s is exceeded, usage %s/%s.The quota of %s is exceeded. Usage: %s/%s.
400QuotaExceeded.RuleActionsNumThe quota of %s is exceeded, usage %s/%s.The quota of %s is exceeded. Usage: %s/%s.
400Mismatch.VpcIdThe %s is mismatched for %s and %s.The %s is mismatched for %s and %s.
400Mismatch.ProtocolThe %s is mismatched for %s and %s.The %s is mismatched for %s and %s.
400OperationDenied.RewriteMissingForwardGroupThe operation is not allowed because of RewriteMissingForwardGroup.The operation is not allowed because rewrite is missing the forward group.
400OperationDenied.MirrorActionSupportHttpGroupOnlyThe operation is not allowed because of MirrorActionSupportHttpGroupOnly.-
400OperationDenied.ProtocolMustSameForForwardGroupActionThe operation is not allowed because of ProtocolMustSameForForwardGroupAction.-
404ResourceNotFound.ListenerThe specified resource %s is not found.The specified resource %s is not found.
404ResourceNotFound.ServerGroupThe specified resource %s is not found.The specified resource %s is not found.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-01-18The Error code has changedView Change Details
2023-11-09The Error code has changedView Change Details