edit-icon download-icon

DescribeAccessGroups

Last Updated: Apr 11, 2018

Description

Used to return the permission group description.

Request parameters

Parameter name Type Required Description
Action String TRUE Operation interface name and system required parameter. Value: DescribeAccessGroups
AccessGroupName String FALSE Permission group name.
PageSize Integer FALSE The number of permission groups contained on each page. The default value is 10.
PageNumber Integer FALSE The page number of the list (beginning from 1).

Response parameters

Parameter name Type Description
TotalCount Integer Total number of permission groups.
PageSize Integer The number of permission groups contained on each page.
PageNumber Integer The page number of the list.
AccessGroups String Permission group description.

Example

Request example

  1. GET https://nas.cn-hangzhou.aliyuncs.com/?Action=DescribeAccessGroups
  2. &<Public Request Parameter>

Response example

XML example

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <DescribeAccessGroupsResponse>
  3. <PageNumber>1</PageNumber>
  4. <TotalCount>2</TotalCount>
  5. <PageSize>2</PageSize>
  6. <RequestId>3E569F4A-F743-490B-AC01-A8088F5C17A1</RequestId>
  7. <AccessGroups>
  8. <AccessGroup>
  9. <Description>DEFAULT ACCESS GROUP NAME</Description>
  10. <RuleCount>1</RuleCount>
  11. <AccessGroupType>Vpc</AccessGroupType>
  12. <AccessGroupName>DEFAULT_VPC_GROUP_NAME</AccessGroupName>
  13. <MountTargetCount>8</MountTargetCount>
  14. </AccessGroup>
  15. <AccessGroup>
  16. <Description>This is a classic test access group~</Description>
  17. <RuleCount>0</RuleCount>
  18. <AccessGroupType>Classic</AccessGroupType>
  19. <AccessGroupName>classic-test</AccessGroupName>
  20. <MountTargetCount>0</MountTargetCount>
  21. </AccessGroup>
  22. </AccessGroups>
  23. </DescribeAccessGroupsResponse>

JSON example

  1. {
  2. "AccessGroups": {
  3. "AccessGroup": [
  4. {
  5. "RuleCount": 1,
  6. "AccessGroupType": "Vpc",
  7. "Description": "DEFAULT ACCESS GROUP NAME",
  8. "AccessGroupName": "DEFAULT_VPC_GROUP_NAME",
  9. "MountTargetCount": 8
  10. },
  11. {
  12. "RuleCount": 0,
  13. "AccessGroupType": "Classic",
  14. "Description": "This is a classic test access group~",
  15. "AccessGroupName": "classic-test",
  16. "MountTargetCount": 0
  17. }
  18. ]
  19. },
  20. "TotalCount": 2,
  21. "PageSize": 2,
  22. "RequestId": "2514F97E-FFF0-4A1F-BF04-729CEAC64B6F",
  23. "PageNumber": 1
  24. }
Thank you! We've received your feedback.