All Products
Search
Document Center

Quota Center:GetQuotaApplicationApproval

Last Updated:Nov 14, 2024

Queries the information about quota application approval, such as the average amount of time required for approval, whether approval reminders are supported, and the interval between two consecutive approval reminders.

Operation description

Prerequisites

Make sure that you have created an application for quota increase. For more information, see CreateQuotaApplication .

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

Request parameters

ParameterTypeRequiredDescriptionExample
ApplicationIdstringNo

The quota application ID.

For more information about how to obtain the ID of a quota application, see ListQuotaApplications .

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

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

7ED584FB-ECBF-4A2A-969D-F54D25EFABF9
HttpStatusCodeinteger

The HTTP status code.

200
DynamicCodestring

The dynamic error code.

PARAMETER.ILLEGALL
DynamicMessagestring

The dynamic error message.

Parameter[%s] is required.
ErrorMsgstring

The error message.

You are not authorized to do this action or the API input parameter is invalid.
ErrorCodestring

The error code.

RAM.PERMISSION.DENIED
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
True
Moduleobject

The information about quota application approval.

ApprovalHoursinteger

The average amount of time required to approve quota applications. Unit: hour.

24
SupportReminderboolean

Indicates whether approval reminders are supported for quota applications. Valid values:

  • false
  • true
false
UnsupportReminderReasonstring

The reason why approval reminders are not supported for quota applications.

can only be remind once within the interval
ReminderIntervalHoursinteger

The interval between two consecutive approval reminders. Unit: hour.

24
AllowRetryboolean

Indicates whether retries are allowed. Valid values:

  • false
  • true
false
ErrorArgsarray

The parameters whose values are invalid.

ErrorArgany

The parameter whose value is invalid.

ApplicationId

Examples

Sample success responses

JSONformat

{
  "RequestId": "7ED584FB-ECBF-4A2A-969D-F54D25EFABF9",
  "HttpStatusCode": 200,
  "DynamicCode": "PARAMETER.ILLEGALL",
  "DynamicMessage": "Parameter[%s] is required.",
  "ErrorMsg": "You are not authorized to do this action or the API input parameter is invalid.",
  "ErrorCode": "RAM.PERMISSION.DENIED",
  "Success": true,
  "Module": {
    "ApprovalHours": 24,
    "SupportReminder": false,
    "UnsupportReminderReason": "can only be remind once within the interval",
    "ReminderIntervalHours": 24
  },
  "AllowRetry": false,
  "ErrorArgs": [
    "ApplicationId"
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history