All Products
Search
Document Center

Quota Center:ListQuotaApplications

Last Updated:Oct 12, 2023

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.

debugging

Authorization information

There is currently no authorization information disclosed in the API.

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 records that can be returned for the query.

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

1
ProductCodestringYes

The abbreviation of the Alibaba Cloud service name.

Note For more information, see Alibaba Cloud services that support Quota Center.
csk
QuotaActionCodestringNo

The ID of the quota.

q_i5uzm3
StatusstringNo

The status of the application. Valid values:

  • Disagree: rejects the application.
  • Agree: approves the application.
  • Process: reviews the application.
  • Cancel: cancels the application.
Agree
KeyWordstringNo

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

Cluster
Dimensionsobject []No

The quota dimensions.

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 type of the quota. 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 details of the application.

TotalCountinteger

The total number of applications.

1
QuotaApplicationsobject []

The details of the applications.

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
Commentstring

The remarks of the application.

test
ExpireTimestring

The time when the application expired.

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

The unit of the new quota value.

Node
DesireValuefloat

The quota value that is approved.

101
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
QuotaActionCodestring

The ID of the quota.

q_i5uzm3
Dimensionobject

The dimension of the application.

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

The description of the quota.

The maximum number of nodes in a cluster
QuotaArnstring

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

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

The time when the application took effect.

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

The quota value that is approved.

101
QuotaNamestring

The name of the quota.

Maximum Number of Nodes
ApplicationIdstring

The ID of the application.

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

The result of the application.

Agree
Reasonstring

The reason for the application.

Business expansion
ApplyTimestring

The time when the application was submitted.

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

The abbreviation of the Alibaba Cloud service name.

csk
Periodobject

The calculation cycle of the quota.

PeriodValuelong

The value of the calculation cycle.

1
PeriodUnitstring

The unit of the calculation cycle. Valid values:

  • second
  • minute
  • hour
  • day
  • week
second
NextTokenstring

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

1
RequestIdstring

The ID of the request.

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

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

1

Examples

Sample success responses

JSONformat

{
  "TotalCount": 1,
  "QuotaApplications": [
    {
      "Status": "Agree",
      "Comment": "test",
      "ExpireTime": "2021-01-17T11:46:25Z",
      "QuotaUnit": "Node",
      "DesireValue": 101,
      "NoticeType": 3,
      "QuotaActionCode": "q_i5uzm3",
      "Dimension": {
        "regionId": "cn-hangzhou"
      },
      "QuotaDescription": "The maximum number of nodes in a cluster\n",
      "QuotaArn": "acs:quotas:*:120886317861****:quota/csk/q_i5uzm3",
      "EffectiveTime": "2021-01-15T11:46:25Z",
      "ApproveValue": 101,
      "QuotaName": "Maximum Number of Nodes\n",
      "ApplicationId": "b926571d-cc09-4711-b547-58a615f0****",
      "AuditReason": "Agree\n",
      "Reason": "Business expansion\n",
      "ApplyTime": "2021-01-15T09:13:53Z",
      "ProductCode": "csk",
      "Period": {
        "PeriodValue": 1,
        "PeriodUnit": "second"
      }
    }
  ],
  "NextToken": "1",
  "RequestId": "730925FB-0BD0-40AC-AF3A-A6C6E9716879",
  "MaxResults": 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
2023-09-22API Description Update,The error codes of the API operation change.see changesets
Change itemChange content
API DescriptionAPI Description Update
Error CodesThe error codes of the API operation change.
    delete Error Codes: 400