GetSpecReviewTask

Updated at:

Queries the details of a specification review ticket for an Elasticsearch Serverless application.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

es-serverless:GetSpecReviewTask

get

*All Resource

*

None None

Request syntax

GET /openapi/es-serverless/instances/{appName}/spec-review-tasks/{taskId} HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

appName

string

Yes

The application name.

test

taskId

integer

Yes

The ticket ID.

339

Request parameters

Parameter

Type

Required

Description

Example

No parameters required.

Response elements

Element

Type

Description

Example

object

Schema of Response

requestId

string

The request ID.

E310AC54-957A-5FD5-B85B-E972B2BDA8DE

result

object

The query result.

appName

string

The application name.

test

type

string

The type of the specification requested for modification in the ticket. Valid values:

  • QUOTA: quota

  • LIMITER: system limit

QUOTA

source

string

The source of the ticket. Valid values:

  • USER: user request

  • DEVOPS: Elasticsearch Serverless O&M engineer

USER

status

string

The approval status of the ticket. Valid values:

  • Pending: pending

  • Approved: approved

  • Rejected: rejected

  • Canceled: canceled

Pending

applyReason

string

The reason for the request.

Business requirement.

gmtCreate

string

The creation time in UTC.

2024-05-30T06:28:07.000Z

gmtModified

string

The last modification time in UTC.

2024-05-30T06:28:07.000Z

oldQuota

object

The original quota information.

{ "appType": "TRIAL", "cu": 2, "storage": 1 }

applyQuota

object

The requested quota information.

{ "appType": "TRIAL", "cu": 4, "storage": 100 }

effectiveQuota

object

The effective quota information.

{ "appType": "TRIAL", "cu": 4, "storage": 100 }

oldLimiter

object

The original system limit.

{ "limiters": [ { "type": "INDEX_QUOTA", "maxValue": 500, "immutable": false } ] }

applyLimiter

object

The requested system limit.

{ "limiters": [ { "type": "INDEX_QUOTA", "maxValue": 500, "immutable": false } ] }

effectiveLimiter

object

The effective system limit.

{ "limiters": [ { "type": "INDEX_QUOTA", "maxValue": 500, "immutable": false } ] }

Id

string

The ticket ID.

339

Examples

Success response

JSON format

{
  "requestId": "E310AC54-957A-5FD5-B85B-E972B2BDA8DE",
  "result": {
    "appName": "test",
    "type": "QUOTA",
    "source": "USER",
    "status": "Pending",
    "applyReason": "Business requirement.",
    "gmtCreate": "2024-05-30T06:28:07.000Z",
    "gmtModified": "2024-05-30T06:28:07.000Z",
    "oldQuota": {
      "appType": "TRIAL",
      "cu": 2,
      "storage": 1
    },
    "applyQuota": {
      "appType": "TRIAL",
      "cu": 4,
      "storage": 100
    },
    "effectiveQuota": {
      "appType": "TRIAL",
      "cu": 4,
      "storage": 100
    },
    "oldLimiter": {
      "limiters": [
        {
          "type": "INDEX_QUOTA",
          "maxValue": 500,
          "immutable": false
        }
      ]
    },
    "applyLimiter": {
      "limiters": [
        {
          "type": "INDEX_QUOTA",
          "maxValue": 500,
          "immutable": false
        }
      ]
    },
    "effectiveLimiter": {
      "limiters": [
        {
          "type": "INDEX_QUOTA",
          "maxValue": 500,
          "immutable": false
        }
      ]
    },
    "Id": "339"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.