AddEntriesToAcl_应用型负载均衡_API文档

Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

Operation Description

  • Each ACL can contain IP addresses or CIDR blocks. Take note of the following limits on ACLs:

    • The maximum number of IP entries that can be added to an ACL with each Alibaba Cloud account at a time: 20
    • The maximum number of IP entries that each ACL can contain: 1,000
  • AddEntriesToAcl 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 ListAclEntries operation to query the status of the task.

    • If the ACL is in the Adding state, the IP entries are being added.
    • If the ACL is in the Available state, the IP entries are added.

Quotas Info

The current API request rate is 200/60(s).View More quotas information, please go to Quota Management View

Authorization Information

The following table shows the authorization information corresponding to this API, which can be used in the Action policy element to grant a RAM user or RAM role the permissions to call the API. Please use RAM to set up these permissions and refer to RAM documentation for more instructions.

Description:View Details...

ActionsAccess levelResource typeCondition keyAssociated operation
alb:AddEntriesToAcl
Create
Acl
acs:alb:{#regionId}:{#accountId}:acl/{#aclId}
NoneNone

Request Parameters

Field NameField Details
AclIdstring

The ID of the ACL.

Example:nacl-hp34s2h0xx1ht4nwo****Reference Value Source:
    ListAcls
    CreateAcl
AclEntriesarray<object>

The ACL entries that you want to add. You can add at most 20 entries in each call.

Count of Children <= 20Count of Children >= 1
ClientTokenstring

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

Example:5A2CFF0E-5718-45B5-9D4D-70B3FF3898
DryRunboolean

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

Example:false

Response Parameters

Field NameField Details
JobIdstring

The asynchronous task ID.

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

The request ID.

Example:365F4154-92F6-4AE4-92F8-7FF34B540710

Sample Response

Error Codes

Global Error Codes
HTTP Status CodeError CodesError MessageActions
400
ResourceAlreadyExist.AclEntry
The specified resource %s already exists.Diagnose
400
ResourceQuotaExceeded.AclEntriesNum
The quota of %s is exceeded for resource %s, usage %s/%s.Diagnose
400
IncorrectStatus.Acl
The status of %s [%s] is incorrect.Diagnose
400
ResourceQuotaExceeded.ListenerAclEntriesNum
The quota of %s is exceeded for resource %s, usage %s/%s.Diagnose
400
ResourceQuotaExceeded.LoadBalancerAclEntriesNum
The quota of %s is exceeded for resource %s, usage %s/%s.Diagnose
404
ResourceNotFound.Acl
The specified resource %s is not found.Diagnose

Change History

Change timeChange content summaryoperation
2024-01-24
changeError code 400
2024-01-23
changeError code 400
2020-09-29
changeError code 404

Examples