Creates a quota increase request.
Operation description
After you create a quota increase request, you can call the ListQuotaApplications operation to check the approval result. The request is approved if the value of the Status parameter is Agree.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quotas:CreateQuotaApplication |
create |
*QuotaApplication
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProductCode |
string |
Yes |
The abbreviation of the Alibaba Cloud service name. Note For more information, see the |
ecs |
| QuotaActionCode |
string |
Yes |
The quota ID. Note For more information, see the |
q_security-groups |
| DesireValue |
number |
Yes |
The value for the quota request. Note
|
804 |
| Reason |
string |
Yes |
The reason for the quota increase request. Note The technical support team of each Alibaba Cloud service reviews quota increase requests. To improve your chance of success, specify a reasonable value and a detailed reason for your request. |
Scale Out |
| NoticeType |
integer |
No |
Specifies whether to send a notification for the quota request. Valid values:
|
0 |
| Dimensions |
array<object> |
No |
The quota dimensions. A quota is uniquely identified by the combination of Dimensions and QuotaActionCode. Note This parameter is required for some Alibaba Cloud services. To query the dimensions that an Alibaba Cloud service supports, call the ListProductQuotaDimensions operation. The |
|
|
object |
No |
The quota dimensions. |
||
| Key |
string |
No |
The key of the quota dimension. Note You must specify |
regionId |
| Value |
string |
No |
The value of the quota dimension. Note You must specify |
cn-hangzhou |
| QuotaCategory |
string |
No |
The type of the quota. Default value: CommonQuota. Valid values:
|
CommonQuota |
| AuditMode |
string |
No |
Important This parameter is deprecated. Do not use it. The approval mode of the quota. Valid values:
|
Sync |
| EnvLanguage |
string |
No |
The language of the notification for the quota alert. Valid values:
|
zh |
| ExpireTime |
string |
No |
The UTC time when the quota expires. This parameter applies only to privileges (WhiteListLabel). Note If you do not specify this parameter, the default value is 99 years after the time specified by `EffectiveTime`. |
2021-01-20T09:25:56Z |
| EffectiveTime |
string |
No |
The UTC time when the quota takes effect. This parameter applies only to privileges (WhiteListLabel). Note If you do not specify this parameter, the quota takes effect at the time of submission. |
2021-01-19T09:25:56Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| ApplicationId |
string |
The ID of the quota request. |
d314d6ae-867d-484c-9009-3d421a80**** |
| ApplyTime |
string |
The time when the quota increase request was submitted. |
2021-01-19T09:25:56Z |
| ApproveValue |
number |
The value of the approved quota. |
804 |
| AuditReason |
string |
The reason for the approval. |
Agree |
| DesireValue |
integer |
The value of the quota increase request. |
804 |
| Dimension |
object |
The quota dimensions. |
{"regionId":"cn-hangzhou"} |
| EffectiveTime |
string |
The time when the quota takes effect. |
2021-01-19T09:25:56Z |
| ExpireTime |
string |
The time when the quota expires. |
2021-01-20T09:25:56Z |
| NoticeType |
integer |
Indicates whether a notification is sent for the quota increase request. Valid values:
Valid values:
|
3 |
| ProductCode |
string |
The abbreviation of the Alibaba Cloud service name. |
ecs |
| QuotaActionCode |
string |
The quota ID. |
q_security-groups |
| QuotaArn |
string |
The Alibaba Cloud Resource Name (ARN) of the quota. |
acs:quotas::141339776561****:quota/ecs/q_security-groups |
| QuotaDescription |
string |
The description of the quota. |
The maximum number of security groups that can be owned by the current account. |
| QuotaName |
string |
The name of the quota. |
Maximum Number of Security Groups |
| QuotaUnit |
string |
The unit of the quota. |
AMOUNT |
| Reason |
string |
The reason for the quota increase request. |
Scale Out |
| RequestId |
string |
The request ID. |
D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053 |
| Status |
string |
The approval status of the quota increase request. Valid values:
|
Process |
Examples
Success response
JSON format
{
"ApplicationId": "d314d6ae-867d-484c-9009-3d421a80****",
"ApplyTime": "2021-01-19T09:25:56Z",
"ApproveValue": 804,
"AuditReason": "Agree",
"DesireValue": 804,
"Dimension": {
"regionId": "cn-hangzhou"
},
"EffectiveTime": "2021-01-19T09:25:56Z",
"ExpireTime": "2021-01-20T09:25:56Z",
"NoticeType": 3,
"ProductCode": "ecs",
"QuotaActionCode": "q_security-groups",
"QuotaArn": "acs:quotas::141339776561****:quota/ecs/q_security-groups",
"QuotaDescription": "The maximum number of security groups that can be owned by the current account.",
"QuotaName": "Maximum Number of Security Groups",
"QuotaUnit": "AMOUNT",
"Reason": "Scale Out",
"RequestId": "D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053",
"Status": "Process"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ACQUIRE.LOCK.FAIL | The request is too frequent. Please try again later. | Too many attempts. Try again later. |
| 400 | InvalidNoticeType | Invalid NoticeType | The specified NoticeType parameter is invalid. |
| 400 | InvalidDesireValue | Invalid DesireValue | The specified DesireValue parameter is invalid. |
| 400 | QUOTA.NOT.ADJUSTABLE | Quota is not adjustable | The quota is not adjustable. |
| 400 | QUOTA.NOT.FOUND | The quota does not exist. | The quota does not exist. |
| 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. |
| 400 | QUOTA.DESIREVALUE.ILLEGAL | The applied quota value is invalid. | |
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.