You need to enable JavaScript to run this app.
导航
ListQuotaApplicationTemplates - 查询配额模板列表
最近更新时间:2023.01.09 20:08:43首次发布时间:2023.01.09 20:08:43

请求参数

接口参数

参数类型位置是否必填描述
ActionstringQueryListQuotaApplicationTemplates
VersionstringQuery2022-07-01

业务变量参数

参数类型位置是否必填描述
ProviderCodestringBody产品提供方
QuotaCodestringBody配额名称

Dimensions

array

Body

配额维度

[
    {
        "Name":"region_code",
        "Value":"cn-north"
    },
    {
        "Name":"charge_type",
        "Value":"PostPaid"
    },
    {
        "Name":"zone_id",
        "Value":"cn-north-a"
    }
]

QuotaType

string

Body

配额类型,取值

  • normal:通用配额

  • spec:资源实例配额

NextTokenstringBody分页参数
MaxResultsintBody最多一次返回数量,默认10

请求示例

http://open.volcengineapi.com/?Version=2022-07-01&Action=ListQuotaApplicationTemplates
&ProviderCode=platformServices
&QuotaCode=quota_alarm
&Dimensions=[{"Name":"region_code", "Value":"region-test"}]
&MaxResults=2

返回示例

{
    "ResponseMetadata": {
        "RequestId": "202301031950101C162E4C972BD0B0A73C"
    },
    "Result": {
        "AccountID": 2100000000,
        "ProviderCode": "platformServices",
        "QuotaCode": "quota_alarm",
        "Dimensions": [
            {
                "Name": "region_code",
                "Value": "quota-test"
            }
        ]
    }
}