Creates a quota template by using the management account of a resource directory. After you create a quota template, if a member is added to the resource directory, the quota template automatically submits a quota increase request for the member. The quota values for existing members remain unchanged.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProductCode | string | Yes | The abbreviation of the Alibaba Cloud service name. Note
For more information, see Alibaba Cloud services that support Quota Center.
| ecs |
QuotaActionCode | string | Yes | The ID of the quota. | q_security-groups |
DesireValue | float | Yes | The requested value of the quota. | 804 |
NoticeType | long | No | Specifies whether to send a notification about the application result. Valid values:
| 0 |
Dimensions | object [] | No | The quota dimensions. | |
Key | string | No | The key of the dimension. The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service. Note
This parameter is required if you set the ProductCode parameter to ecs, ecs-spec, actiontrail, or ess.
| regionId |
Value | string | No | The value of the dimension. The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service. Note
This parameter is required if you set the ProductCode parameter to ecs, ecs-spec, actiontrail, or ess.
| cn-hangzhou |
EnvLanguage | string | No | The language of the quota alert notification. Valid values:
| zh |
EffectiveTime | 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 leave this parameter empty, the quota takes effect immediately.
| 2021-01-19T09:25:56Z |
ExpireTime | 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 leave this parameter empty, no end time is specified.
| 2021-01-20T09:25:56Z |
QuotaCategory | string | No | The quota type. Valid values:
| CommonQuota |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053",
"Id": "1****"
}
Error codes
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 | see changesets | ||
| ||||
2023-05-22 | The internal configuration of the API is changed, but the call is not affected | see changesets | ||
|