All Products
Search
Document Center

File Storage NAS:DescribeAccessPoints

Last Updated:Oct 27, 2026

Queries the access point information.

Note

This API has been deprecated. We recommend migrating to NAS(2017-06-26) - ListAccessPoints for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.

Operation description

Only General-purpose NAS NFS file systems support this feature.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

nas:DescribeAccessPoints

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

FileSystemId

string

No

The ID of the file system.

174494****

AccessGroup

string

No

The name of the permission group.

This parameter is required when the target file system is a General-purpose NAS file system.

Default permission group: DEFAULT_VPC_GROUP_NAME (the default permission group for VPCs).

DEFAULT_VPC_GROUP_NAME

MaxResults

integer

No

The number of entries to return for a single request.

Valid values: 10 to 100. Default value: 10.

10

Tag

array<object>

No

The list of access point tags.

object

No

The list of access point tags.

Key

string

No

The tag key.

Limits:

  • Valid values of N: 1 to 20.

  • The tag key can be up to 128 characters in length.

  • The tag key cannot start with aliyun or acs:.

  • The tag key cannot contain http:// or https://.

TestKey

Value

string

No

The tag value.

Limits:

  • Valid values of N: 1 to 20.

  • The tag value can be up to 128 characters in length.

  • The tag value cannot start with aliyun or acs:.

  • The tag value cannot contain http:// or https://.

TestValue

NextToken

string

No

The pagination token. Set the value to the NextToken value returned from the previous API call.

MTY4NzcxOTcwMjAzMDk2Nzc0MyM4MDM4****

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

6299428C-3861-435D-AE54-9B330A00****

AccessPoints

array<object>

The access point information.

array<object>

ARN

string

The ARN of the access point.

acs:nas:cn-hangzhou:178321033379****:accesspoint/ap-ie15yd****

AccessGroup

string

The name of the permission group.

test

AccessPointId

string

The ID of the access point.

ap-ie15y*****

AccessPointName

string

The name of the access point.

test

CreateTime

string

The time when the access point was created. Format: UNIX/POSIX timestamp.

1709619668276167

DomainName

string

The domain name of the access point.

ap-ie15ydanoz.001014****-w****.cn-hangzhou.nas.aliyuncs.com

EnabledRam

boolean

Indicates whether the RAM policy is enabled.

false

FileSystemId

string

The ID of the file system.

31a8e4****

ModifyTime

string

The time when the access point was modified. Format: UNIX/POSIX timestamp.

1709619668276167

PosixUser

object

The POSIX user.

PosixGroupId

integer

The ID of the POSIX user group.

12

PosixUserId

integer

The ID of the POSIX user.

123

PosixSecondaryGroupIds

array

The ID of the secondary user group.

integer

The ID of the secondary user group.

[123,123]

RootPath

string

The root directory.

/

RootPathPermission

object

The permissions on the root directory.

OwnerGroupId

integer

The ID of the owner user group.

12

OwnerUserId

integer

The ID of the owner user.

1

Permission

string

The POSIX permissions.

0755

RootPathStatus

string

The current status of the root directory.

Valid values:

  • 0: The status of the root path is unknown.

  • 1: The root path does not exist. It may have been deleted by the user.

  • 2: The status of the root path is normal.

2

Status

string

The current status of the access point.

Valid values:

  • active: The access point is available.

  • inactive: The access point is unavailable.

  • pending: The access point is being created.

  • deleting: The access point is being deleted.

Note

You can mount the file system only when the status is active.

active

VSwitchId

string

The ID of the vSwitch.

vsw-2zevmwkwyztjuoffg****

VpcId

string

The ID of the VPC.

vpc-2zesj9afh3y518k9o****

Tags

array<object>

The list of access point tags.

object

The list of access point tags.

Key

string

The tag key.

TestKey

Value

string

The tag value.

TestValue

NextToken

string

The pagination token. Set the value to the NextToken value returned from the previous API call.

MTY4NzcxOTcwMjAzMDk2Nzc0MyM4MDM4****

TotalCount

integer

The total number of access points.

20

Examples

Success response

JSON format

{
  "RequestId": "6299428C-3861-435D-AE54-9B330A00****",
  "AccessPoints": [
    {
      "ARN": "acs:nas:cn-hangzhou:178321033379****:accesspoint/ap-ie15yd****",
      "AccessGroup": "test",
      "AccessPointId": "ap-ie15y*****\n",
      "AccessPointName": "test",
      "CreateTime": "1709619668276167",
      "DomainName": "ap-ie15ydanoz.001014****-w****.cn-hangzhou.nas.aliyuncs.com",
      "EnabledRam": false,
      "FileSystemId": "31a8e4****\n",
      "ModifyTime": "1709619668276167",
      "PosixUser": {
        "PosixGroupId": 12,
        "PosixUserId": 123,
        "PosixSecondaryGroupIds": [
          0
        ]
      },
      "RootPath": "/",
      "RootPathPermission": {
        "OwnerGroupId": 12,
        "OwnerUserId": 1,
        "Permission": "0755"
      },
      "RootPathStatus": "2",
      "Status": "active",
      "VSwitchId": "vsw-2zevmwkwyztjuoffg****\n",
      "VpcId": "vpc-2zesj9afh3y518k9o****\n",
      "Tags": [
        {
          "Key": "TestKey",
          "Value": "TestValue"
        }
      ]
    }
  ],
  "NextToken": "MTY4NzcxOTcwMjAzMDk2Nzc0MyM4MDM4****\n",
  "TotalCount": 20
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidFilesystemType.NotSupport The API operation does not support the file system type. The API operation does not support the file system type.
403 InvalidProtocolType.NotSupported The specified protocol type does not supported. The specified protocol type is not supported.
404 InvalidFileSystem.NotFound The specified file system does not exist. The specified file system does not exist.
404 InvalidAccessGroup.NotFound The specified AccessGroup does not exist. The permission group that you specified does not exist or has been deleted.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.