Queries the information about an access point.
Operation description
Only General-purpose Network File System (NFS) file systems support this operation.
Debugging
Authorization information
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 for a General-purpose Apsara File Storage NAS (NAS) file system. The default permission group for virtual private clouds (VPCs) is named DEFAULT_VPC_GROUP_NAME. | DEFAULT_VPC_GROUP_NAME |
MaxResults | integer | No | The number of results for each query. Valid values: 10 to 100. Default value: 10. | 10 |
NextToken | string | No | The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken. | MTY4NzcxOTcwMjAzMDk2Nzc0MyM4MDM4**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "6299428C-3861-435D-AE54-9B330A00****",
"AccessPoints": [
{
"ARN": "acs:nas:cn-hangzhou:178321033379****:accesspoint/ap-ie15yd****",
"AccessGroup": "test",
"AccessPointId": "ap-ie15yd****\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"
}
],
"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. | - |
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. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|