You need to enable JavaScript to run this app.
文档中心
弹性文件存储

弹性文件存储

复制全文
下载 pdf
挂载点
CreateMountPoint - 创建挂载点
复制全文
下载 pdf
CreateMountPoint - 创建挂载点
调用 CreateMountPoint 接口创建挂载点。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:CreateMountPoint​
要执行的操作,取值:CreateMountPoint。​
​
Version string 必选 示例值:2025-01-01​
API的版本,取值:2025-01-01。​
​
FileSystemId string 必选 示例值:efs-cnbjb24db2d21****​
需要创建挂载点的文件系统 ID。​
​
VpcId string 必选 示例值:vpc-30uexwepls3cw7r2qr2h2****​
挂载点所属的私有网络 ID。​
​
SubnetId string 可选 示例值:subnet-3jhaxpk3qwrgg3pncme77****​
挂载点所属的子网 ID。​
​
PermissionGroupId string 必选 示例值:pgroup-77afc370****​
挂载点所属的权限组 ID。​
​
MountPointName string 必选 示例值:pointname_test​
挂载点名称。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
MountPointId string 示例值:mount-n7db****​
挂载点 ID。​
​
​
​
请求示例​
​
POST /?Action=CreateMountPoint&Version=2025-01-01 HTTP/1.1​
Host: efs.cn-beijing.volcengineapi.com​
Content-Type: application/json; charset=UTF-8​
X-Date: 20260116T104435Z​
X-Content-Sha256: 287e874e******d653b44d21e​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260116/cn-beijing/efs/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
{​
"FileSystemId": "efs-cnbjb24db2d21****",​
"VpcId": "vpc-30uexwepls3cw7r2qr2h2****",​
"SubnetId": "subnet-3jhaxpk3qwrgg3pncme77****",​
"PermissionGroupId": "pgroup-77afc370****",​
"MountPointName": "pointname_test"​
}​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "2026011618443925107514521441****",​
"Action": "CreateMountPoint",​
"Version": "2025-01-01",​
"Service": "efs",​
"Region": "cn-beijing"​
},​
"Result": {​
"MountPointId": "mount-n7db****"​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidParameter​
The specified parameter format is invalid.​
参数格式无效。​
400​
MissingParameter.FileSystemId​
The required parameter FileSystemId is not supplied.​
参数 FileSystemId 不能为空。​
400​
MissingParameter.MountPointName​
The required parameter MountPointName is not supplied.​
参数 MountPointName 不能为空。​
400​
MissingParameter.VpcId​
The required parameter VpcId is not supplied.​
参数 VpcId 不能为空。​
400​
MissingParameter.SubnetId​
The required parameter SubnetId is not supplied.​
参数 SubnetId 不能为空。​
400​
MissingParameter.PermissionGroupId​
The required parameter PermissionGroupId is not supplied.​
参数 PermissionGroupId 不能为空。​
400​
InvalidParameter.MountPointName​
The specified parameter MountPointName is invalid.​
参数 MountPointName 不合法。​
400​
AlreadyExist.Vpc​
There is existing MountPoint of the FileSystem which in the specified VpcId.​
该文件系统已存在挂载点处于该私有网络。​
400​
LimitExceeded.MountPointNumber​
The specified number of MountPoint of the specified FileSystem exceeds the limit.​
指定文件系统的挂载点个数已经达到上限。​
403​
AlreadyExist.MountPoint​
The specified MountPoint is already exist.​
参数 MountPoint 已存在。​
403​
OperationDenied.FileSystemUnhealthy​
The specified FileSystem is unhealthy.​
文件系统非健康状态。​
404​
NotFound.Vpc​
The specified Vpc is not exist or has been deleted.​
私有网络不存在或已删除。​
404​
NotFound.Subnet​
The specified Subnet is not exist or has been deleted.​
子网不存在或已删除。​
423​
OperationDenied.FileSystemBusy​
The specified FileSystem is busy.​
文件系统繁忙。​
500​
InternalError​
An internal error has occurred.​
内部错误。​
​
​
最近更新时间:2026.02.05 17:53:59
这个页面对您有帮助吗?
有用
有用
无用
无用