You need to enable JavaScript to run this app.
导航
ListProductQuotas - 查询目标云产品的配额列表
最近更新时间:2023.08.14 15:55:08首次发布时间:2022.09.21 12:00:26

请求参数

接口参数

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

MaxResults

integer

Query

本次查询的最大记录条数。
取值范围:1~100。默认值:100

NextTokenstringQuery标记开始查询数据的位置,置空时从头开始

业务变量参数

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

Dimensions

array

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=ListProductQuotas
&Version=2022-07-01
&ProviderCode=vePFS
&QuotaCode=InstanceCapacity
&QuotaType

返回示例

{
    "ResponseMetadata": {
        "RequestId": "20220804172505010212172040092B9D3C"
    },
    "Result": {
        "NextToken": "",
        "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": "实例容量配额"
            },
            {
                "ProviderCode": "vePFS",
                "QuotaCode": "InstanceCapacity",
                "QuotaType": "normal",
                "TotalUsage": {
                    "Value": 0,
                    "Unit": "TiB"
                },
                "TotalQuota": 200,
                "Trn": "trn:quota:cn-guangzhou::::vepfs/InstanceCapacity",
                "Dimensions": [
                    {
                        "Name": "region_code",
                        "Value": "cn-guangzhou",
                        "NameCn": "地域",
                        "ValueCn": "cn-guangzhou"
                    }
                ],
                "ApplicableType": "continuous",
                "ApplicableValue": "0,10000",
                "Description": "实例容量配额"
            },
            {
                "ProviderCode": "vePFS",
                "QuotaCode": "InstanceCapacity",
                "QuotaType": "normal",
                "TotalUsage": {
                    "Value": 0,
                    "Unit": "TiB"
                },
                "TotalQuota": 200,
                "Trn": "trn:quota:cn-nantong::::vepfs/InstanceCapacity",
                "Dimensions": [
                    {
                        "Name": "region_code",
                        "Value": "cn-nantong",
                        "NameCn": "地域",
                        "ValueCn": "cn-nantong"
                    }
                ],
                "ApplicableType": "continuous",
                "ApplicableValue": "0,10000",
                "Description": "实例容量配额"
            },
            {
                "ProviderCode": "vePFS",
                "QuotaCode": "InstanceCapacity",
                "QuotaType": "normal",
                "TotalUsage": {
                    "Value": 0,
                    "Unit": "TiB"
                },
                "TotalQuota": 200,
                "Trn": "trn:quota:cn-shanghai::::vepfs/InstanceCapacity",
                "Dimensions": [
                    {
                        "Name": "region_code",
                        "Value": "cn-shanghai",
                        "NameCn": "地域",
                        "ValueCn": "cn-shanghai"
                    }
                ],
                "ApplicableType": "continuous",
                "ApplicableValue": "0,10000",
                "Description": "实例容量配额"
            }
        ],
        "ResultsNum": 4,
        "TotalCount": 4
    }
}