All Products
Search
Document Center

Quota Center:ListQuotaApplicationsForTemplate

Last Updated:Nov 14, 2024

Queries the application records of a quota template that is used to apply for quotas for member accounts.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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.
OperationAccess levelResource typeCondition keyAssociated operation
quotas:ListQuotaApplicationsForTemplatelist
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ProductCodestringNo

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-spec
QuotaActionCodestringNo

The quota ID.

ecs.g5.2xlarge
BatchQuotaApplicationIdstringNo

The ID of the quota application batch.

d314d6ae-867d-484c-9009-3d421a80****
QuotaCategorystringNo

The quota type. Valid values:

  • CommonQuota: general quota
  • FlowControl: API rate limit
  • WhiteListLabel: privilege
CommonQuota
NextTokenstringNo

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

Note An empty value indicates that the query starts from the beginning.
4
MaxResultsintegerNo

The maximum number of entries to return for a single request.

Valid values: 1 to 100. Default value: 30.

30
ApplyStartTimestringNo

The UTC time when the quota application starts.

2023-05-22T16:00:00Z
ApplyEndTimestringNo

The UTC time when the quota application ends.

2023-05-22T16:00:00Z

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053
QuotaBatchApplicationsarray<object>

The queried quota application records.

QuotaBatchApplicationsobject
ProductCodestring

The abbreviation of the Alibaba Cloud service name.

vpc
QuotaActionCodestring

The quota ID.

q_fhoz4k
BatchQuotaApplicationIdstring

The ID of the quota application batch.

d314d6ae-867d-484c-9009-3d421a80****
EffectiveTimestring

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

2023-05-22T16:00:00Z
ExpireTimestring

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

2024-05-14T02:08:56Z
ApplyTimestring

The time when the quota increase application was submitted. The value is displayed in UTC.

2022-09-23T02:38:18Z
DesireValuedouble

The requested value of the quota.

105
QuotaCategorystring

The quota type. Valid values:

  • CommonQuota: general quota
  • FlowControl: API rate limit
  • WhiteListLabel: privilege
CommonQuota
AuditStatusVosarray<object>

The number of applications in different approval states.

AuditStatusVoobject
Statusstring

The approval state of the quota increase application. Valid values:

  • Disagree: The application is rejected.
  • Agree: The application is approved.
  • Process: The application is in review.
  • Cancel: The application is canceled.
Agree
Countinteger

The number of approval tickets.

4
Dimensionsobject

The quota dimensions.

Format example: {"regionId":"cn-hangzhou"}.

{"regionId":"cn-hangzhou"}
AliyunUidsarray

The Alibaba Cloud accounts that correspond to the resource directory members for which the quotas are applied.

AliyunUidsstring

The Alibaba Cloud account that corresponds to the resource directory member for which the quotas are applied.

14468026070****
Reasonstring

The reason for the quota increase application.

Business expansion
NextTokenstring

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

1
TotalCountinteger

The total number of records that are returned for the query.

67
MaxResultsinteger

The maximum number of records that can be returned for the query.

30

Examples

Sample success responses

JSONformat

{
  "RequestId": "D47B3A10-CDAC-5412-B2EE-EC9A3DBE9053",
  "QuotaBatchApplications": [
    {
      "ProductCode": "vpc",
      "QuotaActionCode": "q_fhoz4k",
      "BatchQuotaApplicationId": "d314d6ae-867d-484c-9009-3d421a80****",
      "EffectiveTime": "2023-05-22T16:00:00Z",
      "ExpireTime": "2024-05-14T02:08:56Z",
      "ApplyTime": "2022-09-23T02:38:18Z",
      "DesireValue": 105,
      "QuotaCategory": "CommonQuota",
      "AuditStatusVos": [
        {
          "Status": "Agree",
          "Count": 4
        }
      ],
      "Dimensions": {
        "regionId": "cn-hangzhou"
      },
      "AliyunUids": [
        "14468026070****"
      ],
      "Reason": "Business expansion"
    }
  ],
  "NextToken": "1",
  "TotalCount": 67,
  "MaxResults": 30
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-12-13The response structure of the API has changedView Change Details