Queries access control lists (ACLs).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:ListAcls |
list |
*Acl
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the Alibaba Cloud Global Accelerator (GA) instance. Set the value to cn-hangzhou. |
cn-hangzhou |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of a request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the RequestId value as the ClientToken value. The RequestId value of each API request is different. |
123e4567-e89b-12d3-a456-426655440000 |
| AclIds |
array |
No |
The IDs of the access control policy groups. You can specify up to 10 access control policy group IDs at a time. |
|
|
string |
No |
The ID of the access control policy group. You can specify up to 10 access control policy group IDs at a time. |
nacl-hp34s2h0xx1ht4nwo**** |
|
| AclName |
string |
No |
The name of the access control policy group. You can specify up to 10 access control policy group names at a time. The name must be 1 to 128 characters in length and must start with a letter or a Chinese character. The name can contain digits, periods (.), underscores (_), and hyphens (-). |
test-acl |
| NextToken |
string |
No |
The pagination token that is used in the next request to retrieve a new page of results. Valid values:
|
caeba0bbb2be03f84eb48b699f0a**** |
| MaxResults |
integer |
No |
The number of entries per page for paging. Valid values: 1 to 50. Default value: 10. |
10 |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-aek2lgw4evw**** |
| Tag |
array<object> |
No |
The tags of the access control policy group. |
|
|
object |
No |
The tags of the access control policy group. |
||
| Key |
string |
No |
The tag key of the access control policy group. If you specify this parameter, the value cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with You can specify up to 20 tag keys. |
tag-key |
| Value |
string |
No |
The tag value of the access control policy group. If you specify this parameter, the value can be an empty string. The tag value can be up to 128 characters in length and cannot start with You can specify up to 20 tag values. |
tag-value |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
64ADAB1E-0B7F-4FD8-A404-3BECC0E9CCFF |
| TotalCount |
integer |
The total number of entries returned. |
1 |
| NextToken |
string |
The pagination token that is used in the next request to retrieve a new page of results. Valid values:
|
FFmyTO70t**** |
| MaxResults |
integer |
The number of entries per page for paging. |
10 |
| Acls |
array<object> |
The list of access control policy groups. |
|
|
array<object> |
The access control policy group. |
||
| AclId |
string |
The ID of the access control policy group. |
nacl-hp34s2h0xx1ht4nwo**** |
| AclName |
string |
The name of the access control policy group. |
test-acl |
| AddressIPVersion |
string |
The IP version of the access control policy group. Valid values:
|
IPv4 |
| AclStatus |
string |
The status of the access control policy group. Valid values:
|
active |
| ResourceGroupId |
string |
The resource group ID. |
rg-aek2lgw4evw**** |
| Tags |
array<object> |
The tags of the access control policy group. |
|
|
object |
The tag of the access control policy group. |
||
| Key |
string |
The tag key of the access control policy group. |
tag-key |
| Value |
string |
The tag value of the access control policy group. |
tag-value |
Examples
Success response
JSON format
{
"RequestId": "64ADAB1E-0B7F-4FD8-A404-3BECC0E9CCFF",
"TotalCount": 1,
"NextToken": "FFmyTO70t****",
"MaxResults": 10,
"Acls": [
{
"AclId": "nacl-hp34s2h0xx1ht4nwo****",
"AclName": "test-acl",
"AddressIPVersion": "IPv4",
"AclStatus": "active",
"ResourceGroupId": "rg-aek2lgw4evw****",
"Tags": [
{
"Key": "tag-key",
"Value": "tag-value"
}
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.