创建 CPFS 智算版 AccessPoint。
接口说明
创建 CPFS 智算版 AccessPoint
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
GET / HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
地域 ID。 |
cn-hangzhou |
| FileSystemId |
string |
是 |
文件系统 ID。
|
bmcpfs-099394bd928c**** |
| Description |
string |
否 |
接入点描述。 限制:
|
Description |
| RootDirectory |
object |
否 |
接入点根目录。 默认值为“/”。 |
|
| RootPath |
string |
否 |
接入点根目录。必须以/开头和结尾。 |
/test/ |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
98696EF0-1607-4E9D-B01D-F20930B6**** |
| AccessPointId |
string |
接入点 ID。 |
ap-ie15yd**** |
示例
正常返回示例
JSON格式
{
"RequestId": "98696EF0-1607-4E9D-B01D-F20930B6****",
"AccessPointId": "ap-ie15yd****"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidRequest | The request is invalid. | 请求无效。 |
| 400 | InvalidParameter.FileSystem | Invalid FileSystem in ResourceIds. | |
| 400 | InvalidFilesystemType.NotSupport | This Api does not support this fileSystem type. | 当前接口不支持该类型文件系统。 |
| 400 | FeatureOrAPI.NotSupported | The Feature/API is not supported in this region now. | |
| 403 | Forbbiden.Ram | User not authorized to operate on the specified resource, or this API doesn't support RAM. | 用户没有授权去操作指定的资源,或者此API不支持RAM。 |
| 403 | AccessPoint.ExceedsLimit | Access point exceeds limit - There is already 1000 access points in filesystem. | 接入点超出限制 - 该文件系统中已有 1000 个接入点 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。