All Products
Search
Document Center

Apsara File Storage NAS:DescribeAccessGroups

更新時間:Sep 10, 2024

Queries permission groups.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AccessGroupNamestringNo

The name of the permission group.

Limits:

  • The name must be 3 to 64 characters in length.
  • The name must start with a letter and can contain letters, digits, underscores (_), and hyphens (-).
DEFAULT_VPC_GROUP_NAME
PageSizeintegerNo

The number of entries per page.

Valid values: 1 to 100.

Default value: 10.

2
PageNumberintegerNo

The page number.

Pages start from page 1. Default value: 1.

1
UseUTCDateTimebooleanNo

Specifies whether to display the creation time of the permission group in UTC.

Valid values:

  • true (default): The time is displayed in UTC.
  • false: The time is not displayed in UTC.
true
FileSystemTypestringNo

The type of the file system.

Valid values:

  • standard (default): General-purpose NAS file system
  • extreme: Extreme NAS file system
  • cpfs: Cloud Parallel File Storage (CPFS) file system
Note CPFS file systems are available only on the China site (aliyun.com).
standard

Response parameters

ParameterTypeDescriptionExample
object
AccessGroupsarray<object>

The queried permission groups.

object
AccessGroupNamestring

The name of the permission group.

DEFAULT_VPC_GROUP_NAME
Descriptionstring

The description of the permission group.

This is a test access group.
CreateTimestring

The time when the permission group was created.

2020-01-05T16:00:00Z
AccessGroupTypestring

The network type of the permission group. Valid value: Vpc.

Vpc
RuleCountinteger

The total number of rules in the permission group.

0
MountTargetCountinteger

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

0
FileSystemTypestring

The type of the file system.

Valid values:

  • standard: General-purpose Apsara File Storage NAS (NAS) file system
  • extreme: Extreme NAS file system
  • cpfs: Cloud Parallel File Storage (CPFS) file system
Note CPFS file systems are available only on the China site (aliyun.com).
standard
RegionIdstring

The region ID.

cn-hangzhou
TotalCountinteger

The total number of permission groups.

1
RequestIdstring

The request ID.

2514F97E-FFF0-4A1F-BF04-729CEAC6****
PageSizeinteger

The number of permission groups returned per page.

2
PageNumberinteger

The page number.

1

Examples

Sample success responses

JSONformat

{
  "AccessGroups": {
    "AccessGroup": [
      {
        "AccessGroupName": "DEFAULT_VPC_GROUP_NAME",
        "Description": "This is a test access group.",
        "CreateTime": "2020-01-05T16:00:00Z",
        "AccessGroupType": "Vpc",
        "RuleCount": 0,
        "MountTargetCount": 0,
        "FileSystemType": "standard",
        "RegionId": "cn-hangzhou"
      }
    ]
  },
  "TotalCount": 1,
  "RequestId": "2514F97E-FFF0-4A1F-BF04-729CEAC6****",
  "PageSize": 2,
  "PageNumber": 1
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-02-26The Error code has changed. The response structure of the API has changedView Change Details
2023-11-03The Error code has changedView Change Details