Queries the configurations of a network access control list (ACL).


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeAccessControlListAttribute

The operation that you want to perform. Set the value to DescribeAccessControlListAttribute.

AclId String Yes acl-bp1l0k********kzet04s

The ID of the network ACL that you want to query.

RegionId String Yes cn-hangzhou

The ID of the region where the network ACL is created.

You can call the DescribeRegions operation to query region IDs.

AclEntryComment String No test

The description of the network ACL entry.

Response parameters

Parameter Type Example Description
AclEntrys Array of AclEntry

The information about the network ACL entries.

AclEntryComment String The network ACL entry.

The description of the network ACL entry.

AclEntryIP String

The IP address specified in the network ACL entry.

AclId String acl-bp1l0k********kzet04s

The ID of the network ACL.

AclName String doctest

The name of the network ACL.

AddressIPVersion String ipv4

The IP version of the instance with which the network ACL is associated.

RelatedListeners Array of RelatedListener

The list of listeners with which the network ACL is associated.

AclType String white

The type of network ACL. Valid values:

  • black: a blacklist.
  • white: a whitelist.
ListenerPort Integer 443

The frontend port of the listener with which the network ACL is associated.

LoadBalancerId String lb-bp13j********1miup

The ID of the Server Load Balancer (SLB) instance.

Protocol String https

The type of protocol that the associated listener uses.

RequestId String C9906A1D-86F7-4C9C-A369-54DA42EF206A

The ID of the request.

ResourceGroupId String rg-******************

The ID of the enterprise resource group.


Sample requests

&<Common request parameters>

Sample success responses

XML format

              <AclEntryComment>The network ACL entry. </AclEntryComment>

JSON format

                "AclEntryComment":"The network ACL entry."

Error codes

For a list of error codes, visit the API Error Center.