Queries the details of rules.


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 DescribeAccessRules

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

AccessGroupName String Yes classic-test

The name of the permission group.

AccessRuleId String No 1

The ID of the rule.

PageSize Integer No 1

The number of entries to return on each page. Default value: 10.

PageNumber Integer No 1

The number of the page to return. Pages start from page 1.

FileSystemType String No standard

The type of the file system. Valid values: standard and extreme. Default value: standard.

Response parameters

Parameter Type Example Description 
RequestId String 86D89E82-4297-4343-8E1E-A2495B35CC70

The ID of the request.

TotalCount Integer   1

The total number of rules.

PageSize Integer   1

The number of entries returned per page.

PageNumber Integer   1

The page number of the returned page.

AccessRules Array

The details of rules.

SourceCidrIp String

An IP address or Classless Inter-Domain Routing (CIDR) block.

Priority Integer   1

The priority. Valid values: 1 to 100. Default value: 1.

AccessRuleId String 1

The ID of each rule.

RWAccess String RDWR

The type of permission. Valid values: RDWR and RDONLY. Default value: RDWR.

UserAccess String no_squash

The type of user permission. Valid values: no_squash, root_squash, and all_squash. Default value: no_squash.


Sample requests

GET https://nas.cn-hangzhou.aliyuncs.com/?Action=DescribeAccessRules
&<Common request parameters>

Sample success responses

XML format


JSON format

  "TotalCount": 1,
  "PageSize": 1,
  "RequestId": "86D89E82-4297-4343-8E1E-A2495B35CC70",
  "PageNumber": 1,
  "AccessRules": {
    "AccessRule": [
        "RWAccess": "RDWR",
        "UserAccess": "no_squash",
        "Priority": 1,
        "SourceCidrIp": "",
        "AccessRuleId": "1"

Error codes

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