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

GetFsQuota

最近更新时间2023.05.18 15:33:39

首次发布时间2023.05.18 14:53:13

调用 GetFsQuota 接口,查询当前账号的文件存储实例的配额情况,以判断是否可以继续创建文件存储实例。

背景信息

每个火山引擎账号最多支持创建 10 个文件存储实例。

请求参数

无。

返回参数

参数

类型

示例值

说明

AccountId

Integer

210**0903

当前账号的 ID。

FsQuota

Integer

10

当前账号下支持的文件存储实例的总配额。

说明

每个火山引擎账号最多可创建 10 个文件存储实例。

FsCount

Integer

8

当前账号下已有的文件存储实例。

QuotaEnough

Boolean

true

文件存储实例是否充足。

  • true:充足,还可以继续创建实例。
  • false:不充足,不可以继续创建实例。

请求示例

GET https://open.volcengineapi.com?Action=GetFsQuota&Version=2022-02-02
Content-Type: application/json
Region: cn-beijing
ServiceName: cfs

返回示例

{
    "Result": {
        "AccountId": 210**0903,
        "FsQuota": 10,
        "FsCount": 8,
        "QuotaEnough": true
    },
    "ResponseMetadata": {
        "RequestId": "202304241***91C9F647411D064",
        "Action": "GetFsQuota",
        "Version": "2022-02-02",
        "Service": "cfs",
        "Region": "cn-beijing",
        "Error": null
    }
}