All Products
Search
Document Center

Quota Center:GetQuotaApplication

Last Updated:Nov 14, 2024

Queries the details about a specified application that is submitted to increase a quota.

Operation description

In this example, the operation is called to query the details about an application whose ID is d314d6ae-867d-484c-9009-3d421a80****. The query result shows the details about the application. The details include the application ID, application time, expected quota value, and application result.

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:GetQuotaApplicationget
  • QuotaApplication
    acs:quotas:{#regionId}:{#accountId}:quota/{#ProductCode}/{#QuotaActionCode}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ApplicationIdstringNo

The ID of the application.

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

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

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

QuotaApplicationobject

The details of the quota application.

ApplicationIdstring

The ID of the application.

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

The time when the application was submitted.

2021-01-19T09:25:56Z
ApproveValuefloat

The approved quota value.

10
AuditReasonstring

The result of the application.

Agree
DesireValueinteger

The expected value of the quota.

804
Dimensionobject

The dimension.

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

["cn-shanghai","cn-hangzhou"]
EffectiveTimestring

The time when the new quota value takes effect.

2021-01-19 15:30:00
ExpireTimestring

The time when the new quota expires.

2023-06-29 15:30:00
NoticeTypelong

The method of that is used to send alert notifications. Valid values:

  • 0: Quota Center does not send a notification.
  • 1: Quota Center sends an email notification.
  • 2: Quota Center sends an SMS notification.
0
ProductCodestring

The abbreviation of the Alibaba Cloud service name.

ecs
QuotaActionCodestring

The ID of the quota.

q_security-groups
QuotaArnstring

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

acs:quotas:cn-hangzhou:120886317861****:quota/ecs/q_security-groups/
QuotaCategorystring

The quota type. Valid values:

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

The description of the quota.

The maximum number of security groups that can be owned by the current account
QuotaNamestring

The name of the quota.

Maximum Number of Security Groups
QuotaUnitstring

The unit of the new quota value.

Count
Reasonstring

The reason for the application.

Scale Out
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 closed.
Agree
RequestIdstring

The ID of the request.

7BBD1D37-094C-4485-8B7D-64682F82BC18

Examples

Sample success responses

JSONformat

{
  "QuotaApplication": {
    "ApplicationId": "d314d6ae-867d-484c-9009-3d421a80****",
    "ApplyTime": "2021-01-19T09:25:56Z",
    "ApproveValue": 10,
    "AuditReason": "Agree\n",
    "DesireValue": 804,
    "Dimension": [
      "cn-shanghai",
      "cn-hangzhou"
    ],
    "EffectiveTime": "2021-01-19 15:30:00",
    "ExpireTime": "2023-06-29 15:30:00",
    "NoticeType": 0,
    "ProductCode": "ecs",
    "QuotaActionCode": "q_security-groups",
    "QuotaArn": "acs:quotas:cn-hangzhou:120886317861****:quota/ecs/q_security-groups/",
    "QuotaCategory": "CommonQuota",
    "QuotaDescription": "The maximum number of security groups that can be owned by the current account\n",
    "QuotaName": "Maximum Number of Security Groups\n",
    "QuotaUnit": "Count\n",
    "Reason": "Scale Out\n",
    "Status": "Agree"
  },
  "RequestId": "7BBD1D37-094C-4485-8B7D-64682F82BC18"
}

Error codes

HTTP status codeError codeError messageDescription
400QUOTA.APPLICATION.NOT.FOUNDQuota application does not existThe quota application does not exist.
400RAM.PERMISSION.DENIEDYou are not authorized to do this action or the API input 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 code has changedView Change Details
2023-09-04The Error code has changedView Change Details