Queries the history of batch requests for member quotas submitted using a quota template.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quotas:ListQuotaApplicationsForTemplate |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProductCode |
string |
No |
The abbreviation of the Alibaba Cloud service. Note
For more information about how to obtain the abbreviation of an Alibaba Cloud service, see the |
ecs-spec |
| QuotaActionCode |
string |
No |
The quota ID. |
ecs.g5.2xlarge |
| BatchQuotaApplicationId |
string |
No |
The ID of the batch quota application. |
d314d6ae-867d-484c-9009-3d421a80**** |
| QuotaCategory |
string |
No |
The type of the quota. Valid values:
|
CommonQuota |
| NextToken |
string |
No |
The token that marks the start of the data to read. Note
If you do not set this parameter, the query starts from the beginning. |
4 |
| MaxResults |
integer |
No |
The maximum number of results to return for a single request. Valid values: 1 to 100. Default value: 30. |
30 |
| ApplyStartTime |
string |
No |
The beginning of the time range to query. The value is in UTC. Note
The interval between |
2023-05-22T16:00:00Z |
| ApplyEndTime |
string |
No |
The end of the time range to query. The value is in UTC. Note
The interval between |
2023-05-22T16:00:00Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
None. |
||
| MaxResults |
integer |
The maximum number of records returned for the query. |
30 |
| NextToken |
string |
The token that marks the start of the data to read. |
1 |
| QuotaBatchApplications |
array<object> |
The list of historical quota applications. |
|
|
object |
The list of historical quota applications. |
||
| AliyunUids |
array |
The list of Alibaba Cloud accounts of the members in a resource directory for which the quota applications are submitted. |
|
|
string |
The Alibaba Cloud account of a member in a resource directory for which a quota application is submitted. |
14468026070**** |
|
| ApplyTime |
string |
The UTC time when the quota increase application was submitted. |
2022-09-23T02:38:18Z |
| AuditStatusVos |
array<object> |
The number of applications in different approval states. |
|
|
object |
The number of applications in different approval states. |
||
| Count |
integer |
The number of applications. |
4 |
| Status |
string |
The approval status of the quota increase application. Valid values:
|
Agree |
| BatchQuotaApplicationId |
string |
The ID of the batch quota application. |
d314d6ae-867d-484c-9009-3d421a80**** |
| DesireValue |
number |
The requested quota value. |
105 |
| Dimensions |
object |
The quota dimensions. Format: {"regionId":"cn-hangzhou"}. |
{"regionId":"cn-hangzhou"} |
| EffectiveTime |
string |
The UTC time when the quota takes effect. |
2023-05-22T16:00:00Z |
| ExpireTime |
string |
The UTC time when the quota expires. |
2024-05-14T02:08:56Z |
| ProductCode |
string |
The abbreviation of the Alibaba Cloud service. |
vpc |
| QuotaActionCode |
string |
The quota ID. |
q_fhoz4k |
| QuotaCategory |
string |
The type of the quota. Valid values:
|
CommonQuota |
| Reason |
string |
The reason for the quota increase application. |
Business expansion |
| RequestId |
string |
The request ID. |
D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053 |
| TotalCount |
integer |
The total number of records returned for the request. |
67 |
Examples
Success response
JSON format
{
"MaxResults": 30,
"NextToken": "1",
"QuotaBatchApplications": [
{
"AliyunUids": [
"14468026070****"
],
"ApplyTime": "2022-09-23T02:38:18Z",
"AuditStatusVos": [
{
"Count": 4,
"Status": "Agree"
}
],
"BatchQuotaApplicationId": "d314d6ae-867d-484c-9009-3d421a80****",
"DesireValue": 105,
"Dimensions": {
"regionId": "cn-hangzhou"
},
"EffectiveTime": "2023-05-22T16:00:00Z",
"ExpireTime": "2024-05-14T02:08:56Z",
"ProductCode": "vpc",
"QuotaActionCode": "q_fhoz4k",
"QuotaCategory": "CommonQuota",
"Reason": "Business expansion"
}
],
"RequestId": "D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053",
"TotalCount": 67
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | TEMPLATE.NOT.RD.MA | The requested account is not the MA master account of RD and does not have permission to operate quota templates. | The current account is not the management account of the resource directory and does not have the permissions to manage the quota template. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.