All Products
Search
Document Center

Apsara File Storage NAS:DescribeAccessPoint

Last Updated:Sep 10, 2024

Queries the details of an access point.

Operation description

Only General-purpose Network File System (NFS) file systems support this operation.

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
FileSystemIdstringYes

The ID of the file system.

31a8e4****
AccessPointIdstringYes

The ID of the access point.

ap-ie15yd****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
AccessPointobject

The information about the access point.

ARNstring

The Alibaba Cloud Resource Name (ARN) of the access point.

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

The name of the permission group.

test
AccessPointIdstring

The ID of the access point.

ap-ie15yd****
AccessPointNamestring

The name of the access point.

test
CreateTimestring

The time when the access point was created.

1709619668276167
DomainNamestring

The domain name of the access point.

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

Indicates whether the RAM policy is enabled.

false
FileSystemIdstring

The ID of the file system.

31a8e4****
ModifyTimestring

The time when the access point was modified.

1709619668276167
RootPathPermissionobject

The permissions to create the root directory.

OwnerGroupIdinteger

The ID of the owner group.

123
OwnerUserIdinteger

The owner ID.

1
Permissionstring

The POSIX permission.

0755
PosixUserobject

The POSIX user.

PosixGroupIdinteger

The ID of the POSIX user group.

12
PosixUserIdinteger

The ID of the POSIX user.

123
PosixSecondaryGroupIdsarray

The IDs of the secondary user groups.

integer

The ID of the secondary user group.

[123,123]
RootPathstring

The root directory.

/
RootPathStatusstring

The status of the root directory.

Valid values:

  • 0: The rootpath status is unknown.
  • 1: The rootpath does not exist and may be deleted.
  • 2: The rootpath is normal.
2
Statusstring

The 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.
Active
VSwitchIdstring

The vSwitch ID.

vsw-2zevmwkwyztjuoffg****
VpcIdstring

The ID of the virtual private cloud (VPC).

You must select the VPC of the Elastic Compute Service (ECS) instance on which you want to mount the file system.

vpc-2zesj9afh3y518k9o****
RegionIdstring

The region ID.

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
  "AccessPoint": {
    "ARN": "acs:nas:cn-hangzhou:178321033379****:accesspoint/ap-ie15yd****",
    "AccessGroup": "test\n",
    "AccessPointId": "ap-ie15yd****\n",
    "AccessPointName": "test",
    "CreateTime": "1709619668276167",
    "DomainName": "ap-ie15ydanoz.001014****-w****.cn-hangzhou.nas.aliyuncs.com",
    "EnabledRam": false,
    "FileSystemId": "31a8e4****",
    "ModifyTime": "1709619668276167",
    "RootPathPermission": {
      "OwnerGroupId": 123,
      "OwnerUserId": 1,
      "Permission": "0755"
    },
    "PosixUser": {
      "PosixGroupId": 12,
      "PosixUserId": 123,
      "PosixSecondaryGroupIds": [
        0
      ]
    },
    "RootPath": "/",
    "RootPathStatus": "2",
    "Status": "Active",
    "VSwitchId": "vsw-2zevmwkwyztjuoffg****",
    "VpcId": "vpc-2zesj9afh3y518k9o****",
    "RegionId": "cn-hangzhou"
  }
}

Error codes

HTTP status codeError codeError messageDescription
404InvalidAccessPointId.NotFoundThe access point id does not exist.The specified APid does not exist.
404InvalidFileSystem.NotFoundThe specified file system does not exist.The specified file system does not exist.

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

Change history

Change timeSummary of changesOperation
No change history