You need to enable JavaScript to run this app.
导航
GetProductQuota - 获取目标配额的详情信息
最近更新时间:2022.12.27 10:18:23首次发布时间:2022.09.21 12:00:11

请求参数

接口参数

参数类型位置是否必填描述
ActionstringQueryGetProductQuota
VersionstringQuery当前API版本,该接口版本为2022-07-01

业务变量参数

参数类型位置是否必填描述
ProviderCodestringQuery服务提供方英文简称
QuotaCodestringQuery配额英文简称

Dimensions

array

Query/Body

[
    {
        "Name":"region_code",
        "Value":"cn-north"
    },
    {
        "Name":"charge_type",
        "Value":"PostPaid"
    },
    {
        "Name":"zone_id",
        "Value":"cn-north-a"
    }
]
-Namestring-目前可选值有region_code、zone_id、charge_type
-Valuestring-

请求示例

http://open.volcengineapi.com/?Action=GetProductQuota
&Version=2022-07-01
&ProviderCode=vePFS
&QuotaCode=InstanceCapacity
&Dimensions=[{"Name":"region_code","value":"cn-beijing"}]

返回示例

{
    "ResponseMetadata": {
        "RequestId": "202208041713300102100811350829258E"
    },
    "Result": {
        "Quotas": {
            "ProviderCode": "vePFS",
            "QuotaCode": "InstanceCapacity",
            "QuotaType": "normal",
            "TotalUsage": {
                "Value": 0,
                "Unit": "TiB"
            },
            "TotalQuota": 200,
            "Trn": "trn:quota:cn-beijing::::vepfs/InstanceCapacity",
            "Dimensions": [
                {
                    "Name": "region_code",
                    "Value": "cn-beijing",
                    "NameCn": "地域",
                    "ValueCn": "cn-beijing"
                }
            ],
            "ApplicableType": "continuous",
            "ApplicableValue": "0,10000",
            "Description": "实例容量配额"
        }
    }
}