All Products
Search
Document Center

OpenSearch:DescribeAppGroup

Last Updated:Mar 15, 2024

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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

Request syntax

GET /v4/openapi/app-groups/{appGroupIdentity}

Request parameters

ParameterTypeRequiredDescriptionExample
appGroupIdentitystringYes

my_app_group_name

my_app_group_name

Response parameters

ParameterTypeDescriptionExample
object
requestIdstring

The ID of the request.

0A6EB64B-B4C8-CF02-810F-E660812972FF
resultobject

The information about the application.

createdinteger

The timestamp when the application was created.

1575442875
currentVersionstring

The ID of the current online version.

110116134
pendingSecondRankAlgoDeploymentIdinteger

The ID of the fine sort expression that is being created.

0
lockModestring

The lock mode of the instance. Valid values:

  • Unlock: The instance is not locked.
  • LockByExpiration: The instance is automatically locked after it expires.
  • ManualLock: The instance is manually locked.
Unlock
updatedinteger

The timestamp when the application was last updated.

1578916076
idstring

The ID of the application.

110116134
chargeTypestring

The billing method of the application. Valid values:

  • POSTPAY: pay-as-you-go
  • PREPAY: subscription
POSTPAY
hasPendingQuotaReviewTaskinteger

The approval status of the quotas. Valid values:

  • 0: The quotas are approved.
  • 1: The quotas are being approved.
0
secondRankAlgoDeploymentIdinteger

The ID of the created fine sort expression.

0
namestring

The name of the application.

os_function_test_v1
instanceIdstring

The ID of the instance.

-
processingOrderIdstring

The ID of the order that is not complete for the instance. For example, an order is one that is initiated to create the instance or change the quotas or billing method.

-
chargingWayinteger

The billing model. Valid values:

  • 1: computing resources
  • 2: queries per second (QPS)
1
typestring

The type of the application. Valid values:

  • standard: a standard application.
  • advance: an advanced application which is of an old application type. New applications cannot be of this type.
  • enhanced: an advanced application which is of a new application type.
enhanced
statusstring

The status of the application. Valid values:

  • producing
  • review_pending
  • config_pending
  • normal
  • frozen
normal
projectIdstring

The name of the A/B test group.

-
switchedTimeinteger

The timestamp when the current online version was published.

0
commodityCodestring

The code of the commodity.

opensearch
expireOnstring

The expiration time.

-
descriptionstring

The description of the application.

-
firstRankAlgoDeploymentIdinteger

The ID of the created rough sort expression.

0
producedinteger

Indicates whether the order is complete. Valid values:

  • 0: The order is in progress.
  • 1: The order is complete.
1
lockedByExpirationinteger

Indicates whether the instance is automatically locked after it expires.

0
quotaobject

The information about the quotas of the application.

specstring

The specifications of the application. Valid values:

  • opensearch.share.junior: basic
  • opensearch.share.common: shared general-purpose
  • opensearch.share.compute: shared computing
  • opensearch.share.storage: shared storage
  • opensearch.private.common: exclusive general-purpose
  • opensearch.private.compute: exclusive computing
  • opensearch.private.storage: exclusive storage
opensearch.share.common
docSizeinteger

The storage capacity. Unit: GB.

1
computeResourceinteger

The computing resources. Unit: logical computing units (LCUs).

20

Examples

Sample success responses

JSONformat

{
  "requestId": "0A6EB64B-B4C8-CF02-810F-E660812972FF",
  "result": {
    "created": 1575442875,
    "currentVersion": "110116134",
    "pendingSecondRankAlgoDeploymentId": 0,
    "lockMode": "Unlock",
    "updated": 1578916076,
    "id": "110116134",
    "chargeType": "POSTPAY",
    "hasPendingQuotaReviewTask": 0,
    "secondRankAlgoDeploymentId": 0,
    "name": "os_function_test_v1",
    "instanceId": "-",
    "processingOrderId": "-",
    "chargingWay": 1,
    "type": "enhanced",
    "status": "normal",
    "projectId": "-",
    "switchedTime": 0,
    "commodityCode": "opensearch",
    "expireOn": "-",
    "domain": "ecommerce",
    "description": "-",
    "firstRankAlgoDeploymentId": 0,
    "produced": 1,
    "lockedByExpiration": 0,
    "quota": {
      "spec": "opensearch.share.common",
      "docSize": 1,
      "computeResource": 20
    },
    "tags": [
      {
        "key": "foo",
        "value": "bar"
      }
    ],
    "resourceGroupId": ""
  }
}

Error codes

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