调用 CreateMountPoint 接口创建挂载点。
名称 | 类型 | 是否必选 | 示例值 | 说明 |
---|---|---|---|---|
FSId | String | 是 | enas-cnbj1c789dca**** | 文件系统 ID。 |
VpcId | String | 是 | vpc-2feug19z3tgqo5oxruvg6**** | 私有网络 ID。 说明 您可以调用 DescribeVpcs 接口查询私有网络 ID。 |
SubnetId | String | 是 | subnet-3cj8h1e5kij286c6rrt5m**** | 子网 ID。 说明 您可以调用 DescribeSubnets 接口查询指定可用区内的所有子网 ID。 |
PGroupId | String | 是 | pgroup-default | 权限组 ID。 |
MountPointName | String | 是 | mount1 | 挂载点名称。命名规范如下:
|
名称 | 类型 | 示例值 | 说明 |
---|---|---|---|
MountPointId | String | mount-e6ec**** | 挂载点 ID。 |
POST /?Action=CreateMountPoint&Version=2021-01-01 HTTP/1.1 Content-Type: application/json Host: filenas.volcengineapi.com X-Date: 20210328T100802Z Authorization: HMAC-SHA256 Credential=AK*********************/20210328/cn-beijing/filenas/request, SignedHeaders=x-date, Signature=********************* { "FSId": "enas-cnbj1c789dca****", "VpcId": "vpc-2feug19z3tgqo5oxruvg6****", "SubnetId": "subnet-3cj8h1e5kij286c6rrt5m****", "PGroupId": "pgroup-default", "MountPointName": "mount1" }
{ "ResponseMetadata": { "RequestId": "202209161825090102080171332140****", "Action": "CreateMountPoint", "Version": "2021-01-01", "Service": "FileNAS", "Region": "cn-beijing" }, "Result": { "MountPointId": "mount-e6ec****" } }