Creates a quota increase request.
Operation description
After you create a quota increase request, you can call the ListQuotaApplications operation to view the approval result. If the value of Status is Agree, the request is approved.
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 cloud service name. Note
For information about how to obtain the abbreviation of a cloud service name, see |
ecs |
| QuotaActionCode |
string |
Yes |
The quota ID. Note
For information about how to obtain the quota ID of a cloud service, see |
q_security-groups |
| DesireValue |
number |
Yes |
The requested quota value. Note
|
804 |
| Reason |
string |
Yes |
The reason for the quota increase request. Note
Quota increase requests are reviewed by the technical support of each cloud service. To increase the chances of approval, provide a reasonable requested value and a detailed reason when you submit the request. |
Scale Out |
| NoticeType |
integer |
No |
Specifies whether to send a notification about the request result. Valid values:
Valid values:
|
0 |
| Dimensions |
array<object> |
No |
The quota dimensions. The dimensions are attributes of the quota. The combination of dimensions (Dimensions) and quota ID (QuotaActionCode) uniquely identifies a quota. Note
Some cloud services require dimensions. You can call ListProductQuotaDimensions to query the quota dimensions supported by a cloud service. The |
|
|
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 |
| QuotaCategory |
string |
No |
The quota type. Default value: CommonQuota. Valid values:
|
CommonQuota |
| AuditMode |
string |
No |
Important This parameter is deprecated and is not recommended. The quota review mode. Valid values:
|
Sync |
| EnvLanguage |
string |
No |
The language of the quota alert notification. Valid values:
|
zh |
| ExpireTime |
string |
No |
The UTC time when the quota expires. This parameter is applicable only to privileges (WhiteListLabel). Note
If you do not specify an expiration time, the default value is the submission time. |
2021-01-20T09:25:56Z |
| EffectiveTime |
string |
No |
The UTC time when the quota takes effect. This parameter is applicable only to privileges (WhiteListLabel). Note
If you do not specify an effective period, the default value is 99 years from the start time of the current quota. |
2021-01-19T09:25:56Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| ApplicationId |
string |
The ID of the quota increase request. |
d314d6ae-867d-484c-9009-3d421a80**** |
| ApplyTime |
string |
The time when the quota increase request was submitted. The time is in ISO 8601 format and in UTC. The value ends with Z. |
2021-01-19T09:25:56Z |
| ApproveValue |
number |
The approved quota value. |
804 |
| AuditReason |
string |
The review comments on the quota increase request. |
Agree |
| DesireValue |
integer |
The requested quota value. |
804 |
| Dimension |
object |
The quota dimensions. |
{"regionId":"cn-hangzhou"} |
| EffectiveTime |
string |
The effective period of the quota. The time is in ISO 8601 format and in UTC. The value ends with Z. |
2021-01-19T09:25:56Z |
| ExpireTime |
string |
The time when the quota expires. The time is in ISO 8601 format and in UTC. The value ends with Z. |
2021-01-20T09:25:56Z |
| NoticeType |
integer |
Indicates whether a notification is sent about the request result. Valid values:
Valid values:
|
3 |
| ProductCode |
string |
The abbreviation of the 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.