Queries the application records of a quota template that is used to apply for quotas for member accounts.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
quotas:ListQuotaApplicationsForTemplate | list |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProductCode | string | No | The abbreviation of the Alibaba Cloud service name. Note
To query the abbreviation of an Alibaba Cloud service name, call the ListProducts operation and check the value of ProductCode in the response.
| ecs-spec |
QuotaActionCode | string | No | The quota ID. | ecs.g5.2xlarge |
BatchQuotaApplicationId | string | No | The ID of the quota application batch. | d314d6ae-867d-484c-9009-3d421a80**** |
QuotaCategory | string | No | The quota type. Valid values:
| CommonQuota |
NextToken | string | No | The token that marks the position from which you want to start the query. Note
An empty value indicates that the query starts from the beginning.
| 4 |
MaxResults | integer | No | The maximum number of entries to return for a single request. Valid values: 1 to 100. Default value: 30. | 30 |
ApplyStartTime | string | No | The UTC time when the quota application starts. | 2023-05-22T16:00:00Z |
ApplyEndTime | string | No | The UTC time when the quota application ends. | 2023-05-22T16:00:00Z |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053",
"QuotaBatchApplications": [
{
"ProductCode": "vpc",
"QuotaActionCode": "q_fhoz4k",
"BatchQuotaApplicationId": "d314d6ae-867d-484c-9009-3d421a80****",
"EffectiveTime": "2023-05-22T16:00:00Z",
"ExpireTime": "2024-05-14T02:08:56Z",
"ApplyTime": "2022-09-23T02:38:18Z",
"DesireValue": 105,
"QuotaCategory": "CommonQuota",
"AuditStatusVos": [
{
"Status": "Agree",
"Count": 4
}
],
"Dimensions": {
"regionId": "cn-hangzhou"
},
"AliyunUids": [
"14468026070****"
],
"Reason": "Business expansion"
}
],
"NextToken": "1",
"TotalCount": 67,
"MaxResults": 30
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-12-13 | The response structure of the API has changed | View Change Details |