All Products
Search
Document Center

OpenSearch:ListQuotaReviewTasks

Last Updated:Oct 16, 2024

Queries tickets that are submitted to apply for quotas for an OpenSearch application.

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
opensearch:DescribeApp
  • AppGroup
    acs:opensearch:{#regionId}:{#accountId}:apps/{#AppGroupId}
    none
none

Request syntax

GET /v4/openapi/app-groups/{appGroupIdentity}/quota-review-tasks HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
appGroupIdentitystringYes

The application name.

"my_app_name"
pageNumberintegerNo

The page number. Default value: 1.

1
pageSizeintegerNo

The number of entries to return on each page. Default value: 10.

10

Sample requests

GET /v4/openapi/app-groups/demo/quota-review-tasks

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

totalCountinteger

The total number of entries returned.

500
requestIdstring

The request ID.

"3351A21F-705B-508C-9450-DA65A681547F"
resultarray<object>

The information about the tickets. For more information, see QuotaReviewTask .

[]
resultobject
oldDocSizeinteger

The original quota of storage capacity.

900
pendingboolean

Indicates whether the ticket is pending.

false
memostring

The remarks.

null
approvedboolean

Indicates whether the ticket is approved.

true
oldSpecstring

The original specifications of the application.

"opensearch.private.common"
oldComputeResourceinteger

The original quota of computing resources.

500
appGroupTypestring

The application type.

"standard"
availableboolean

Indicates whether the application is available.

true
gmtCreatestring

The time when the ticket was created.

"2020-04-08T08:29:45+0000"
newSocSizeinteger

The storage capacity quota that is applied for.

1100
idinteger

The ticket ID.

142
appGroupIdinteger

The application ID.

120123456
newComputeResourceinteger

The computing resource quota that is applied for.

6000
appGroupNamestring

The application name.

"td_test_os"
gmtModifiedstring

The time when the ticket was last updated.

"2020-04-08T08:36:36+0000"
newSpecstring

The application specifications that are applied for.

"opensearch.private.common"

Sample responses

{
    "id": 142,
    "appGroupId": 120577535,
    "appGroupName": "td_trade_order_os",
    "appGroupType": "standard",
    "oldSpec": "opensearch.private.common",
    "oldComputeResource": 500,
    "oldDocSize": 900,
    "newSpec": "opensearch.private.common",
    "newComputeResource": 6000,
    "newSocSize": 1100,
    "memo": null,
    "available": true,
    "pending": false,
    "approved": true,
    "gmtCreate": "2020-04-08T08:29:45+0000",
    "gmtModified": "2020-04-08T08:36:36+0000"
}

Examples

Sample success responses

JSONformat

{
  "totalCount": 500,
  "requestId": "\"3351A21F-705B-508C-9450-DA65A681547F\"",
  "result": [
    {
      "oldDocSize": 900,
      "pending": false,
      "memo": "null",
      "approved": true,
      "oldSpec": "\"opensearch.private.common\"",
      "oldComputeResource": 500,
      "appGroupType": "\"standard\"",
      "available": true,
      "gmtCreate": "\"2020-04-08T08:29:45+0000\"",
      "newSocSize": 1100,
      "id": 142,
      "appGroupId": 120123456,
      "newComputeResource": 6000,
      "appGroupName": "\"td_test_os\"",
      "gmtModified": "\"2020-04-08T08:36:36+0000\"",
      "newSpec": "\"opensearch.private.common\""
    }
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history