Creates batch quota increase applications for members in a resource folder. When you add a quota item to a quota template, only new members in the resource folder autocommit quota increase applications, and existing members remain unchanged. To increase quotas for existing members by using a quota template, you can select the quota template to commit batch quota increase applications for multiple members in the resource folder. Only the administrator account of the resource folder can create batch quota applications.
Operation description
Limits
A single application can include a maximum of 10 quota items.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quotas:CreateQuotaApplicationsForTemplate |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| QuotaCategory |
string |
Yes |
The quota type. Valid values:
|
CommonQuota |
| ProductCode |
string |
Yes |
The abbreviated name of the cloud service. Note
For more information about how to obtain the abbreviated name of a cloud service, see |
ecs-spec |
| QuotaActionCode |
string |
Yes |
The quota ID. Note
For more information about how to obtain the quota ID of a cloud service, see |
ecs.g5.2xlarge |
| Dimensions |
array<object> |
No |
The quota dimensions. |
|
|
object |
No |
The quota dimensions. |
||
| Key |
string |
No |
The key of the quota dimension. Note
|
regionId |
| Value |
string |
No |
The value of the quota dimension. Note
|
cn-hangzhou |
| DesireValue |
number |
Yes |
The requested quota value. Note
|
12 |
| Reason |
string |
Yes |
The reason for the quota application. Note
Quota applications are reviewed and approved by the technical support team of each cloud service. To increase the approval rate, specify a reasonable requested value and provide a detailed reason when you submit a quota application. |
Scale Out |
| NoticeType |
integer |
No |
Specifies whether to send notifications for quota application results. Valid values:
|
0 |
| EnvLanguage |
string |
No |
The language of the notification for the quota application result. Valid values:
|
zh |
| EffectiveTime |
string |
No |
The UTC time when the quota takes effect. This parameter applies only to privileges (WhiteListLabel). Note
If you do not specify an effective period for the current account, the commit time is used by default. |
2021-01-19T09:25:56Z |
| ExpireTime |
string |
No |
The UTC time when the quota expires. This parameter applies only to privileges (WhiteListLabel). Note
If you do not specify an expiration time for the current account, the expiration time is set to 99 years after the effective period of the current quota. |
2021-01-20T09:25:56Z |
| AliyunUids |
array |
Yes |
The list of Alibaba Cloud accounts that belong to the resource directory members for which you want to apply for quotas. Note
You can apply for quota increases for a maximum of 50 members at a time. For more information about the members of a resource directory, see ListAccounts. |
|
|
string |
No |
The Alibaba Cloud account that belongs to the resource directory member for which you want to apply for a quota. |
135048337611**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The result returned after the application is submitted. |
||
| AliyunUids |
array |
The list of Alibaba Cloud accounts that belong to the resource directory members for which quotas are applied. |
|
|
string |
The Alibaba Cloud account that belongs to the resource directory member for which you want to apply for a quota. |
135048337611**** |
|
| BatchQuotaApplicationId |
string |
The batch ID of the quota application. |
d314d6ae-867d-484c-9009-3d421a80**** |
| FailResults |
array<object> |
The list of Alibaba Cloud accounts that belong to the resource directory members for which quota applications failed and the reasons for the failures. |
|
|
object |
The list of Alibaba Cloud accounts that belong to the resource directory members for which quota applications failed and the reasons for the failures. |
||
| AliyunUid |
string |
The Alibaba Cloud account that belongs to the resource directory member for which the quota application failed. |
135048337611**** |
| Reason |
string |
The reason for the failure. |
The quota adjustment application is being processed. Please try again later. |
| RequestId |
string |
The request ID. |
8FF8CAF0-29D9-4F11-B6A4-FD2CBCA016D3 |
Examples
Success response
JSON format
{
"AliyunUids": [
"135048337611****"
],
"BatchQuotaApplicationId": "d314d6ae-867d-484c-9009-3d421a80****",
"FailResults": [
{
"AliyunUid": "135048337611****",
"Reason": "The quota adjustment application is being processed. Please try again later."
}
],
"RequestId": "8FF8CAF0-29D9-4F11-B6A4-FD2CBCA016D3"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | QUOTA.APPLICATION.TIME.ERROE | ExpireTime cannot be earlier than the current time or EffectiveTime. | ExpireTime cannot be earlier than the current time or EffectiveTime. |
| 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. |
| 400 | QUOTA.APPLICATION.PROCESS | The quota adjustment application is being processed. Please try again later. | The quota application is being processed. You cannot submit an application at the time being. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.