You need to enable JavaScript to run this app.
导航
ListQuotaApplicationTemplates - 查询配额模版列表
最近更新时间:2025.05.13 16:50:39首次发布时间:2023.01.09 20:08:43
我的收藏
有用
有用
无用
无用

查询配额模版列表

调试

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

参数
类型
是否必填
示例值
描述
Action
String

ListQuotaApplicationTemplates

要执行的操作,取值:ListQuotaApplicationTemplates。

Version
String

2022-07-01

API的版本,取值:2022-07-01。

ProviderCode
String

iam

服务方code

QuotaCode
String

policy

配额code

Dimensions
Array of Object

[{"Name":"region_code","Value":""}]

配额维度

QuotaType
String

policy

配额类型

MaxResults
Integer

10

分页参数

NextToken
String

100

分页参数

返回参数

下表仅列出本接口特有的返回参数。更多信息请参见返回结构

参数
类型
示例值
描述
QuotaTemplateList
Array of Object

[{"ManagerAccountID":2100245449,"ProviderCode":"vke","ProductName":"火山容器服务引擎","QuotaCode":"vci/vci.n1/vcpu","QuotaType":"spec","Dimensions":"[{"Name":"charge_type","Value":"PostPaid"},{"Name":"region_code","Value":"cn-taiwan-boe"},{"Name":"zone_id","Value":"cn-taiwan-boe-a"}]","DimensionsWithCn":[{"Name":"charge_type","Value":"PostPaid","NameCn":"付费类型","ValueCn":"按量计费"},{"Name":"region_code","Value":"cn-taiwan-boe","NameCn":"地域","ValueCn":"cn-taiwan-boe"},{"Name":"zone_id","Value":"cn-taiwan-boe-a","NameCn":"区域","ValueCn":"cn-taiwan-boe-a"}],"QuotaUnit":"核","DesireValue":"826","Description":"可拥有的通用型 n1 弹性容器实例的总 vCPU 核数。","CreatedTime":"2024-12-19 17:30:08","UpdatedTime":"2024-12-19 17:30:08"}]

配额模版列表

NextToken
String

100

分页参数

请求示例

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"
            }
        ]
    }
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

状态码
错误码
错误信息
说明
400
EntityNotExist

%v[%v] not exist

操作对象不存在

400
InvalidParameter

The parameter %v[%v] is invalid.

无效参数

500
ServiceFailure

The request processing has failed because of an unknown error.

服务错误