All Products
Search
Document Center

Quota Center:ListQuotaApplicationTemplates

Last Updated:Apr 29, 2026

Queries quota templates by using the management account of a resource directory.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

quotas:ListQuotaApplicationTemplates

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

ProductCode

string

No

The abbreviation of the Alibaba Cloud service name.

Note

To query the abbreviation of an Alibaba Cloud service name, call the ListProducts operation and check the value of ProductCode in the response.

ecs

Dimensions

array<object>

No

The quota dimensions.

object

No

The information about the array object.

Key

string

No

The key of the dimension.

Note
  • The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.

  • You must specify both Key and Value for each quota dimension.

regionId

Value

string

No

The value of the dimension.

Note
  • The value range of N varies based on the number of dimensions that are supported by the related Alibaba Cloud service.

  • You must specify both Key and Value for each quota dimension.

cn-hangzhou

QuotaActionCode

string

No

The ID of the quota.

q_security-groups

Id

string

No

The ID of the quota item.

1****

MaxResults

integer

No

The maximum number of records that can be returned for the query. Valid values: 1 to 100. Default value: 30.

30

NextToken

string

No

The token that marks the position from which you want to start the query.

Note

If you leave this parameter empty, the query starts from the beginning.

1

QuotaCategory

string

No

The quota type. Valid values:

  • CommonQuota: general quota.

  • WhiteListLabel: whitelist quota.

  • FlowControl: API rate limit.

CommonQuota

Response elements

Element

Type

Description

Example

object

None.

MaxResults

integer

The maximum number of records returned for the query.

30

NextToken

string

The token that marks the position at which the query ends.

Note

An empty value indicates that all data is returned.

1

QuotaApplicationTemplates

array<object>

The information about quota templates.

array<object>

The information about a quota template.

ApplicableRange

array

None.

number

The range of the quota value that can be requested for the quota item.

Note

This parameter is deprecated. For more information about the range, see the value of SupportedRange in the response of the GetProductQuota or ListProductQuotas operation.

  • If the value of ApplicableType is continuous and the value of this parameter is [802,1000], the range contains all integers from 802 to 1000.

  • If the value of ApplicableType is discontinuous and the value of this parameter is [10,20,50,100], the range contains only 10,20,50, and 100.

[802,1000]

ApplicableType

string

The type of the adjustable value. Valid values:

  • continuous

  • discontinuous

continuous

DesireValue

number

The requested value of the quota.

802

Dimensions

object

The quota dimensions.

Format: {"regionId":"Region"}.

{"regionId":"cn-hangzhou"}

EffectiveTime

string

The start time of the validity period of the quota. The value is displayed in UTC.

2022-09-28T06:07:00Z

EnvLanguage

string

The language of the quota alert notification. Valid values:

  • zh: Chinese

  • en: English

zh

ExpireTime

string

The end time of the validity period of the quota. The value is displayed in UTC.

2022-09-29T06:07:00Z

Id

string

The ID of the quota template.

1****

NoticeType

integer

Indicates whether Quota Center sends a notification about the application result. Valid values:

  • 0: no

  • 3: yes

0

Period

object

The calculation cycle of the quota.

PeriodUnit

string

The unit of the calculation cycle. Valid values:

  • second

  • minute

  • hour

  • day

  • week

day

PeriodValue

integer

The value of the calculation cycle.

1

ProductCode

string

The abbreviation of the Alibaba Cloud service name.

ecs

QuotaActionCode

string

The ID of the quota.

q_security-groups

QuotaCategory

string

The type of the quota. Valid values:

  • CommonQuota: general quota

  • FlowControl: API rate limit

  • WhiteListLabel: privilege

CommonQuota

QuotaDescription

string

The description of the quota.

The maximum number of security groups that can be created by the current account.

QuotaName

string

The name of the quota.

Maximum Number of Security Groups

RequestId

string

The request ID.

D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053

TotalCount

integer

The total number of records returned for the query.

40

Examples

Success response

JSON format

{
  "MaxResults": 30,
  "NextToken": "1",
  "QuotaApplicationTemplates": [
    {
      "ApplicableRange": [
        0
      ],
      "ApplicableType": "continuous",
      "DesireValue": 802,
      "Dimensions": {
        "regionId": "cn-hangzhou"
      },
      "EffectiveTime": "2022-09-28T06:07:00Z",
      "EnvLanguage": "zh",
      "ExpireTime": "2022-09-29T06:07:00Z",
      "Id": "1****",
      "NoticeType": 0,
      "Period": {
        "PeriodUnit": "day",
        "PeriodValue": 1
      },
      "ProductCode": "ecs",
      "QuotaActionCode": "q_security-groups",
      "QuotaCategory": "CommonQuota",
      "QuotaDescription": "The maximum number of security groups that can be created by the current account.\n",
      "QuotaName": "Maximum Number of Security Groups\n"
    }
  ],
  "RequestId": "D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053",
  "TotalCount": 40
}

Error codes

HTTP status code

Error code

Error message

Description

400 TEMPLATE.ITEM.NOT.FOUND Quota template item does not exist. The quota template item does not exist.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.