Bir erişim kontrolü ilke grubuna IP girişleri ekler.
Operation description
Her ilke grubu birden fazla IP adresi girişi veya IP adresi aralığı girişi içerebilir. Erişim kontrolü ilke grupları için giriş sınırları aşağıdaki gibidir:\n\n- Her hesap için istek başına eklenebilecek IP adresi girişi sayısı: 50\n\n- Her erişim kontrolü ilke grubunun içerebileceği giriş sayısı: 300
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
slb:AddAccessControlListEntry |
create |
*acl
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
Erişim kontrolü ilke grubunun bölge kimliği. |
cn-hangzhou |
| AclId |
string |
No |
Erişim kontrolü ilke grubunun kimliği. |
acl-bp1l0kk4gxce43kze***** |
| AclEntrys |
string |
No |
Erişim kontrolü ilke grubu ayarları. Geçerli değerler:\n\n* entry: Erişim kontrolü ilke grubuna eklenecek IP girişi. CIDR blokları belirtebilirsiniz. Birden fazla CIDR bloğunu virgül (,) ile ayırın.\n\n* comment: Erişim kontrolü ilke grubunun açıklaması.\n\n>Tek seferde en fazla 50 giriş ekleyebilirsiniz. Yinelenen IP girişleri eklenirse yalnızca bir giriş tutulur ve yinelenen girişler yok sayılır. IP girişleri CIDR blokları olmalıdır. |
[{"entry":"10.0.**.**/24","comment":"privaterule1"},{"entry":"192.168.**.**/16","comment":"privaterule2"}] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
İstek kimliği. |
988CB45E-1643-48C0-87B4-928DDF77EA4 |
Examples
Success response
JSON format
{
"RequestId": "988CB45E-1643-48C0-87B4-928DDF77EA4"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParam.AclEntryExists | The specified aclEntry already exists in the acl. | |
| 400 | IllegalEntry | Entry version is conflict to the acl version. | |
| 400 | AclEntryIllegal | %s. | |
| 400 | InvalidEntry | %s. | |
| 400 | InvalidParam.Comment | The specified comment is invalid. | |
| 400 | AclEntryExceedLimit | The maximum number of ACL entries is exceeded. | |
| 400 | SystemBusy | The system is busy. | |
| 503 | ServiceUnavailable | Service is unavailable now. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.