Creates an access point for a CPFS for Lingjun file system.
Operation description
Creates an access point for a CPFS for Lingjun file system.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:CreateCpfsAccessPoint |
create |
*All Resource
|
None | None |
Request syntax
GET / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| FileSystemId |
string |
Yes |
The file system ID.
|
bmcpfs-099394bd928c**** |
| Description |
string |
No |
The description of the access point. Limits:
|
Description |
| RootDirectory |
object |
No |
The root directory of the access point. Default value: "/". |
|
| RootPath |
string |
No |
The root directory of the access point. The value must start and end with a forward slash (/). |
/test/ |
|
No |
The list of tags for the CPFS access point. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
98696EF0-1607-4E9D-B01D-F20930B6**** |
| AccessPointId |
string |
The access point ID. |
ap-ie15yd**** |
Examples
Success response
JSON format
{
"RequestId": "98696EF0-1607-4E9D-B01D-F20930B6****",
"AccessPointId": "ap-ie15yd****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidRequest | The request is invalid. | Invalid request |
| 400 | InvalidParameter.FileSystem | Invalid FileSystem in ResourceIds. | The file system in the ResourceIds is invalid. |
| 400 | InvalidFilesystemType.NotSupport | This Api does not support this fileSystem type. | The current interface does not support this type of file system. |
| 400 | FeatureOrAPI.NotSupported | The Feature/API is not supported in this region now. | This feature or API is not currently supported in this region. |
| 403 | Forbbiden.Ram | User not authorized to operate on the specified resource, or this API doesn't support RAM. | The user is not authorized to operate the specified resource, or the API does not support RAM. |
| 403 | AccessPoint.ExceedsLimit | Access point exceeds limit - There is already 1000 access points in filesystem. | Access point out of limit-there are already 1000 access points in the file system |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.