You need to enable JavaScript to run this app.
导航

UpdateMountPoint

最近更新时间2022.09.19 21:07:55

首次发布时间2022.09.19 20:53:12

调用 UpdateMountPoint 接口更新挂载点信息。

请求参数

名称类型是否必选示例值说明
FSIdStringenas-cnbj1c789dca****文件系统 ID。
MountPointIdStringmount-n7db****挂载点 ID。
PGroupIdStringpgroup-default权限组 ID。

MountPointName

String

mount1

挂载点名称。命名规范如下:

  • 不能以数字、中划线(-)开头。

  • 只能包含中文、字母、数字、下划线(_)和中划线(-)。

  • 长度需要在 1~128 个字符内。

返回数据

null

请求示例

POST /?Action=UpdateMountPoint&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****",
    "MountPointId" : "mount-n7db****",
    "PGroupId": "pgroup-default",
    "MountPointName": "mount1"
}

返回示例

{
    "ResponseMetadata": {
        "RequestId": "20220916182653010212040049043F****",
        "Action": "UpdateMountPoint",
        "Version": "2021-01-01",
        "Service": "FileNAS",
        "Region": "cn-beijing"
    },
    "Result": null
}