查询配额模版列表
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
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 | 操作对象不存在 |
400 | InvalidParameter | 无效参数 |
500 | ServiceFailure | 服务错误 |