Queries permission groups.


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

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeAccessGroups

The operation that you want to perform.

Set the value to DescribeAccessGroups.

AccessGroupName String No classic-test

The name of the permission group.

PageSize Integer No 2

The number of entries to return on each page.

Valid values: 1 to 100.

Default value: 10.

PageNumber Integer No 1

The number of the page to return.

Pages start from page 1. Default value: 1.

UseUTCDateTime Boolean No true

Specifies whether the creation time of the permission group is displayed in UTC.

Valid values:

  • true: the default value. The time is displayed in UTC.
  • false: The time is not displayed in UTC.
FileSystemType String No standard

The type of the file system.

Valid values:

  • standard: the default value, which indicates General-purpose NAS file systems.
  • extreme: Extreme NAS file systems.

Response parameters

Parameter Type Example Description
AccessGroups Array of AccessGroup

The list of permission groups.

AccessGroupName String classic-test

The name of the permission group.

AccessGroupType String Classic

The network type of the permission group.

Valid values:

  • Vpc: the virtual private cloud (VPC) network.
  • Classic: the classic network.
Description String This is a classic test access group.

The description of the permission group.

MountTargetCount Integer 0

The number of mount targets to which the permission group is attached.

RuleCount Integer 0

The number of rules that are included in the permission group.

PageNumber Integer 1

The page number of the returned page.

PageSize Integer 2

The number of entries returned per page.

RequestId String 2514F97E-FFF0-4A1F-BF04-729CEAC6****

The ID of the request.

TotalCount Integer 2

The total number of permission groups.


Sample requests

http(s)://[Endpoint]/? Action=DescribeAccessGroups
&<Common request parameters>

Sample success responses

XML format

            <Description>DEFAULT ACCESS GROUP NAME</Description>
            <Description>This is a classic test access group~</Description>

JSON format

  "AccessGroups": {
    "AccessGroup": [
        "RuleCount": 1,
        "AccessGroupType": "Vpc",
        "Description": "DEFAULT ACCESS GROUP NAME",
        "AccessGroupName": "DEFAULT_VPC_GROUP_NAME",
        "MountTargetCount": 8
        "RuleCount": 0,
        "AccessGroupType": "Classic",
        "Description": "This is a classic test access group~",
        "AccessGroupName": "classic-test",
        "MountTargetCount": 0
  "TotalCount": 2,
  "PageSize": 2,
  "RequestId": "2514F97E-FFF0-4A1F-BF04-729CEAC6****",
  "PageNumber": 1

Error codes

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