All Products
Search
Document Center

Quota Center:ListQuotaApplications

Last Updated:Nov 14, 2024

Queries the details of an application that is submitted to increase a quota.

Operation description

In this example, the operation is called to query the details of an application that is submitted to increase a quota whose ID is q_i5uzm3 and whose name is Maximum Number of Nodes. This quota belongs to Container Service for Kubernetes (ACK). The query result shows the details of the application. The details include the application ID, application time, requested quota, and application result. In this example, the application ID is b926571d-cc09-4711-b547-58a615f0****. The application time is 2021-01-15T09:13:53Z. The expected quota value is 101. The application result is Agree.

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:ListQuotaApplicationsget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
NextTokenstringNo

The token that marks the position from which you want to start the query. If you leave this parameter empty, the query starts from the beginning.

1
MaxResultsintegerNo

The maximum number of entries to return.

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

1
ProductCodestringNo

The abbreviation of the Alibaba Cloud service name.

csk
QuotaActionCodestringNo

The ID of the quota.

q_i5uzm3
StatusstringNo

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
KeyWordstringNo

The keyword that you want to use to search for the application.

Cluster
Dimensionsarray<object>No

The quota dimensions.

objectNo

The quota dimension.

KeystringNo

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.
regionId
ValuestringNo

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.
cn-hangzhou
QuotaCategorystringNo

The quota type. Valid values:

  • CommonQuota: general quota.
  • FlowControl: API rate limit.
  • WhiteListLabel: whitelist quota.
CommonQuota

For more information about common request parameters, see Common parameters.

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

MaxResultsinteger

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

1
NextTokenstring

The token that marks the position at which the query ends. An empty value indicates that all data is returned.

1
QuotaApplicationsarray<object>

The details of the quota increase applications.

QuotaApplicationsobject

The details of a quota increase application.

ApplicationIdstring

The ID of the application.

b926571d-cc09-4711-b547-58a615f0****
ApplyTimestring

The time when the application was submitted.

2021-01-15T09:13:53Z
ApproveValuefloat

The quota value that is approved.

101
AuditReasonstring

The result of the application.

Agree
Commentstring

The remarks of the application.

test
DesireValuefloat

The quota value that is approved.

101
Dimensionobject

The dimension of the application.

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

The time when the application took effect.

2021-01-15T11:46:25Z
ExpireTimestring

The time when the application expired.

2021-01-17T11:46:25Z
NoticeTypeinteger

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

  • 0: A notification about the application result is not sent.
  • 3: A notification about the application result is sent.
3
Periodobject

The calculation cycle of the quota.

PeriodUnitstring

The unit of the calculation cycle. Valid values:

  • second
  • minute
  • hour
  • day
  • week
second
PeriodValuelong

The value of the calculation cycle.

1
ProductCodestring

The abbreviation of the Alibaba Cloud service name.

csk
QuotaActionCodestring

The ID of the quota.

q_i5uzm3
QuotaArnstring

The Alibaba Cloud Resource Name (ARN) of the quota.

acs:quotas:*:120886317861****:quota/csk/q_i5uzm3
QuotaCategorystring

The quota type. Valid values:

  • CommonQuota (default): general quota.
  • WhiteListLabel: whitelist quota.
  • FlowControl: API rate limit.
CommonQuota
QuotaDescriptionstring

The description of the quota.

The maximum number of nodes in a cluster
QuotaNamestring

The name of the quota.

Maximum Number of Nodes
QuotaUnitstring

The unit of the new quota value.

Node
Reasonstring

The reason for the application.

Business expansion
Statusstring

The status of the application. Valid values:

  • Disagree: The application is rejected.
  • Agree: The application is approved.
  • Process: The application is being reviewed.
  • Cancel: The application is canceled.
Agree
RequestIdstring

The ID of the request.

730925FB-0BD0-40AC-AF3A-A6C6E9716879
TotalCountinteger

The total number of applications.

1

Examples

Sample success responses

JSONformat

{
  "MaxResults": 1,
  "NextToken": "1",
  "QuotaApplications": [
    {
      "ApplicationId": "b926571d-cc09-4711-b547-58a615f0****",
      "ApplyTime": "2021-01-15T09:13:53Z",
      "ApproveValue": 101,
      "AuditReason": "Agree\n",
      "Comment": "test",
      "DesireValue": 101,
      "Dimension": {
        "regionId": "cn-hangzhou"
      },
      "EffectiveTime": "2021-01-15T11:46:25Z",
      "ExpireTime": "2021-01-17T11:46:25Z",
      "NoticeType": 3,
      "Period": {
        "PeriodUnit": "second",
        "PeriodValue": 1
      },
      "ProductCode": "csk",
      "QuotaActionCode": "q_i5uzm3",
      "QuotaArn": "acs:quotas:*:120886317861****:quota/csk/q_i5uzm3",
      "QuotaCategory": "CommonQuota",
      "QuotaDescription": "The maximum number of nodes in a cluster\n",
      "QuotaName": "Maximum Number of Nodes\n",
      "QuotaUnit": "Node",
      "Reason": "Business expansion\n",
      "Status": "Agree"
    }
  ],
  "RequestId": "730925FB-0BD0-40AC-AF3A-A6C6E9716879",
  "TotalCount": 1
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidStatusInvalid StatusThe specified Status parameter is invalid.

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

Change history

Change timeSummary of changesOperation
2024-01-16The Error code has changed. The request parameters of the API has changedView Change Details
2024-01-12The Error code has changed. The request parameters of the API has changedView Change Details
2023-09-22API Description Update. The Error code has changedView Change Details