弹性文件服务 SFS-修改共享信息:请求消息

时间:2024-01-19 10:49:56

请求消息

  • 参数说明

    参数

    是否必选

    参数类型

    描述

    share

    Object

    share对象

  • share字段说明:

    参数

    是否必选

    参数类型

    描述

    display_name

    String

    新的共享名称,长度为0~255。

    display_description

    String

    可选的共享描述信息,长度为0~255。

    is_public

    Boolean

    (API 微版本2.8以后支持)共享的可见程度。设置为true时公共可见,设置为false时私有个人可见,默认值为false。

  • 请求样例
    修改共享信息,新的共享名称为“testshare”,共享描述信息为“test”。
    {
        "share": {
            "display_name": "testshare",
            "display_description": "test"
        }
    }
support.huaweicloud.com/api-sfs/sfs_02_0026.html