类 CfsClient

    • 构造器详细资料

      • CfsClient

        public CfsClient​(String ak,
                         String sk,
                         BceRegion region)
        Constructs a new client to invoke service methods on demo with region.
      • CfsClient

        public CfsClient​(String ak,
                         String sk)
        Constructs a new client to invoke service methods on demo.
      • CfsClient

        public CfsClient​(BceClientConfiguration configuration)
        Constructs a new client to invoke service methods on demo.
    • 方法详细资料

      • createMountTarget

        public CreateMountTargetResponse createMountTarget​(String fsId,
                                                           CreateMountTargetRequest body)
        * 给创建一个文件系统的挂载点,返回domain。 * 付费方式为后付费。
        参数:
        fsId - 待创建MountTarget的FileSystem的ID
        body -
        返回:
        CreateMountTargetResponse
      • deleteMountTarget

        public void deleteMountTarget​(String fsId,
                                      String mountId)
        释放指定的FileSystem的MountTarget
        参数:
        fsId - 待释放的target的FileSystem的ID
        mountId - 待释放的target的ID
      • describeFs

        public DescribeFsResponse describeFs​(DescribeFsRequest body,
                                             String userId,
                                             String fsId,
                                             String marker,
                                             Integer maxKeys)
        查询用户账户下的所有FileSystem信息。 支持按fsId、userId,匹配规则支持部分包含。 返回结果是多重查询条件的交集 结果支持marker分页,分页大小默认为1000,可通过maxKeys参数指定
        参数:
        userId - 要查询文件系统所属的用户ID
        fsId - 要查询的FileSystem ID
        marker - 批量获取列表的查询的起始位置,是一个由系统生成的字符串
        maxKeys - 每页包含的最大数量,最大数量不超过1000。缺省值为1000
        body -
        返回:
        DescribeFsResponse
      • describeMountTarget

        public DescribeMountTargetResponse describeMountTarget​(String fsId,
                                                               DescribeMountTargetRequest body,
                                                               String mountId,
                                                               String marker,
                                                               Integer maxKeys)
        * 查询指定文件系统下的所有MountTarget信息。 * 返回结果是多重查询条件的交集 * 结果支持marker分页,分页大小默认为1000,可通过maxKeys参数指定
        参数:
        fsId -
        mountId - 要查询的MountTarget的ID
        marker - 批量获取列表的查询的起始位置,是一个由系统生成的字符串
        maxKeys - 每页包含的最大数量,最大数量不超过1000。缺省值为1000
        body -
        返回:
        DescribeMountTargetResponse
      • dropFs

        public void dropFs​(String fsId,
                           DropFsRequest body)
        释放指定的FileSystem,被释放的FileSystem超过回收时间后会被永远删除,无法找回
        参数:
        fsId - 待释放的FileSystem的ID
        body -
      • getFsQuota

        public GetFsQuotaResponse getFsQuota()
        获取文件系统quota
        返回:
        GetFsQuotaResponse
      • updateFs

        public void updateFs​(String fsId,
                             UpdateFsRequest body)
        更新一个filesystem的配置信息。
        参数:
        fsId - 待更新的FileSystem的ID
        body -