管理账号查询配额模板列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
quotas:ListQuotaApplicationTemplates |
list |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ProductCode |
string |
否 |
The abbreviation of the Alibaba Cloud service name. 说明
To query the abbreviation of an Alibaba Cloud service name, call the ListProducts operation and check the value of |
ecs |
| Dimensions |
array<object> |
否 |
The quota dimensions. |
|
|
object |
否 |
The information about the array object. |
||
| Key |
string |
否 |
The key of the dimension. 说明
|
regionId |
| Value |
string |
否 |
The value of the dimension. 说明
|
cn-hangzhou |
| QuotaActionCode |
string |
否 |
The ID of the quota. |
q_security-groups |
| Id |
string |
否 |
The ID of the quota item. |
1**** |
| MaxResults |
integer |
否 |
The maximum number of records that can be returned for the query. Valid values: 1 to 100. Default value: 30. |
30 |
| NextToken |
string |
否 |
The token that marks the position from which you want to start the query. 说明
If you leave this parameter empty, the query starts from the beginning. |
1 |
| QuotaCategory |
string |
否 |
The quota type. Valid values:
|
CommonQuota |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
None. |
||
| MaxResults |
integer |
The maximum number of records returned for the query. |
30 |
| NextToken |
string |
The token that marks the position at which the query ends. 说明
An empty value indicates that all data is returned. |
1 |
| QuotaApplicationTemplates |
array<object> |
The information about quota templates. |
|
|
array<object> |
The information about a quota template. |
||
| ApplicableRange |
array |
None. |
|
|
number |
The range of the quota value that can be requested for the quota item. 说明
This parameter is deprecated. For more information about the range, see the value of
|
[802,1000] |
|
| ApplicableType |
string |
The type of the adjustable value. Valid values:
|
continuous |
| DesireValue |
number |
The requested value of the quota. |
802 |
| Dimensions |
object |
The quota dimensions. Format: {"regionId":"Region"}. |
{"regionId":"cn-hangzhou"} |
| EffectiveTime |
string |
The start time of the validity period of the quota. The value is displayed in UTC. |
2022-09-28T06:07:00Z |
| EnvLanguage |
string |
The language of the quota alert notification. Valid values:
|
zh |
| ExpireTime |
string |
The end time of the validity period of the quota. The value is displayed in UTC. |
2022-09-29T06:07:00Z |
| Id |
string |
The ID of the quota template. |
1**** |
| NoticeType |
integer |
Indicates whether Quota Center sends a notification about the application result. Valid values:
|
0 |
| Period |
object |
The calculation cycle of the quota. |
|
| PeriodUnit |
string |
The unit of the calculation cycle. Valid values:
|
day |
| PeriodValue |
integer |
The value of the calculation cycle. |
1 |
| ProductCode |
string |
The abbreviation of the Alibaba Cloud service name. |
ecs |
| QuotaActionCode |
string |
The ID of the quota. |
q_security-groups |
| QuotaCategory |
string |
The type of the quota. Valid values:
|
CommonQuota |
| QuotaDescription |
string |
The description of the quota. |
The maximum number of security groups that can be created by the current account. |
| QuotaName |
string |
The name of the quota. |
Maximum Number of Security Groups |
| RequestId |
string |
The request ID. |
D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053 |
| TotalCount |
integer |
The total number of records returned for the query. |
40 |
示例
正常返回示例
JSON格式
{
"MaxResults": 30,
"NextToken": "1",
"QuotaApplicationTemplates": [
{
"ApplicableRange": [
0
],
"ApplicableType": "continuous",
"DesireValue": 802,
"Dimensions": {
"regionId": "cn-hangzhou"
},
"EffectiveTime": "2022-09-28T06:07:00Z",
"EnvLanguage": "zh",
"ExpireTime": "2022-09-29T06:07:00Z",
"Id": "1****",
"NoticeType": 0,
"Period": {
"PeriodUnit": "day",
"PeriodValue": 1
},
"ProductCode": "ecs",
"QuotaActionCode": "q_security-groups",
"QuotaCategory": "CommonQuota",
"QuotaDescription": "The maximum number of security groups that can be created by the current account.\n",
"QuotaName": "Maximum Number of Security Groups\n"
}
],
"RequestId": "D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053",
"TotalCount": 40
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | TEMPLATE.ITEM.NOT.FOUND | Quota template item does not exist. | 配额模板项不存在 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。