Submits an application to increase a quota.
Operation description
In this example, the operation is called to submit an application to increase the value of a quota whose ID is q_security-groups
and whose name is Maximum Number of Security Groups. The quota belongs to Elastic Compute Service (ECS). The expected value of the quota is 804
, the application reason is Scale Out
, and the ID of the region to which the quota belongs is cn-hangzhou
.
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:CreateQuotaApplication | create |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProductCode | string | Yes | The abbreviation of the Alibaba Cloud service name. Note
To query the abbreviation of an Alibaba Cloud service name, check the ProductCode parameter that is described in ListProductQuotas .
| ecs |
QuotaActionCode | string | Yes | The quota ID. Note
To query the quota ID of an Alibaba Cloud service, check the QuotaActionCode parameter that is described in ListProductQuotas .
| q_security-groups |
DesireValue | float | Yes | The requested value of the quota. Note
| 804 |
Reason | string | Yes | The reason for the application. Note
Applications are reviewed by the technical support team of each Alibaba Cloud service. To increase the success rate of your application, you must specify a reasonable quota value and detailed reasons when you submit an application to increase the value of the quota.
| Scale Out |
NoticeType | integer | No | Specifies whether to send a notification about the application result. Valid values:
| 0 |
Dimensions | array<object> | No | The quota dimensions. A quota item is uniquely determined by the values of Dimensions and QuotaActionCode. Note
Some dimensions are required. You can call the ListProductQuotaDimensions operation to query the quota dimensions that are supported by an Alibaba Cloud service. The value of Requisite in the response indicates whether a dimension is required.
| |
object | No | The quota dimension. | ||
Key | string | No | The key of the dimension. Note
You must configure Dimensions.N.Key and Dimensions.N.Value at the same time. The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service. You can call the ListProductQuotaDimensions operation to query the dimensions that are supported by an Alibaba Cloud service. The number of elements in the returned array is N.
| regionId |
Value | string | No | The value of the dimension. Note
You must configure Dimensions.N.Key and Dimensions.N.Value at the same time. The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service. You can call the ListProductQuotaDimensions operation to query the dimensions that are supported by an Alibaba Cloud service. The number of elements in the returned array is N.
| cn-hangzhou |
QuotaCategory | string | No | The type of the quota. Valid values: Default value: CommonQuota. Valid values:
| CommonQuota |
AuditMode | string | No | Note
This parameter is discontinued and is not recommended.
The mode in which you want the application to be reviewed. Valid values:
| Sync |
EnvLanguage | string | No | The language of the quota alert notification. Valid values:
| zh |
ExpireTime | string | No | The start time of the validity period of the quota. Specify the value in UTC. This parameter is valid only if you set the QuotaCategory parameter to WhiteListLabel. Note
If you do not specify a start time, the default start time is the time when the quota application is submitted.
| 2021-01-20T09:25:56Z |
EffectiveTime | string | No | The end time of the validity period of the quota. Specify the value in UTC. This parameter is valid only if you set the QuotaCategory parameter to WhiteListLabel. Note
If you do not specify an end time, the default end time is 99 years after the quota application is submitted.
| 2021-01-19T09:25:56Z |
For more information about common request parameters, see Common parameters.
Response parameters
Examples
Sample success responses
JSON
format
{
"ApplicationId": "d314d6ae-867d-484c-9009-3d421a80****",
"ApplyTime": "2021-01-19T09:25:56Z",
"ApproveValue": 804,
"AuditReason": "Agree\n",
"DesireValue": 12,
"Dimension": {
"regionId": "cn-hangzhou"
},
"EffectiveTime": "2021-01-19T09:25:56Z",
"ExpireTime": "2021-01-20T09:25:56Z",
"NoticeType": 3,
"ProductCode": "ecs-spec",
"QuotaActionCode": "ecs.c5.large",
"QuotaArn": "acs:quotas:cn-hangzhou:*:quota/ecs/ecs.m2.medium/prepaid/classic/instancetype/cn-hangzhou-b",
"QuotaDescription": "ecs.c5.large",
"QuotaName": "ecs.c5.large",
"QuotaUnit": "AMOUNT",
"Reason": "Scale Out\n",
"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. | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-09-22 | API Description Update. The Error code has changed | View Change Details |