All Products
Search
Document Center

AppGroup

Last Updated: Sep 09, 2021

Description

The schema of an application.

Example

{
    "id": "100302881",
    "name": "lsh_test_1",
    "currentVersion": "100302903",
    "switchedTime": 1590486386,
    "quota": {
        "docSize": 1,
        "computeResource": 20,
        "spec": "opensearch.share.common"
    },
    "chargingWay": 1,
    "type": "enhanced",
    "versions": [
        "100302903",
        "100303063"
    ],
    "projectId": "",
    "chargeType": "POSTPAY",
    "expireOn": "",
    "instanceId": "",
    "commodityCode": "opensearch",
    "processingOrderId": "",
    "firstRankAlgoDeploymentId": 0,
    "secondRankAlgoDeploymentId": 0,
    "pendingSecondRankAlgoDeploymentId": 0,
    "description": "",
    "produced": 1,
    "lockedByExpiration": 0,
    "hasPendingQuotaReviewTask": 0,
    "created": 1590139542,
    "updated": 1590978265,
    "status": "normal",
    "lockMode": "Unlock"
}

Structure

Field

Type

Description

id

String

The ID of the application.

name

String

The name of the application.

currentVersion

String

The ID of the current online version.

switchedTime

Integer

The timestamp when the current online version was published.

quota

Object

The quota information about the application. For more information, see Quota.

chargingWay

Integer

The billing model. Valid values:- 1: computing resources- 2: queries per second (QPS)

type

String

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.

versions

Array

The versions.

projectId

String

The name of the A/B test group.

chargeType

String

The billing method of the application. Valid values:- POSTPAY: pay-as-you-go- PREPAY: subscription

expireOn

String

The expiration time.

instanceId

String

The ID of the instance.

commodityCode

String

The code of the commodity.

processingOrderId

String

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.

firstRankAlgoDeploymentId

Integer

The ID of the created rough sort expression.

secondRankAlgoDeploymentId

Integer

The ID of the created fine sort expression.

pendingSecondRankAlgoDeploymentId

Integer

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

description

String

The description of the application.

produced

Integer

Indicates whether the order is complete. Valid values:- 0: The order is in progress.- 1: The order is complete.

hasPendingQuotaReviewTask

Integer

The approval status of the quotas. Valid values:- 0: The quotas are approved.- 1: The quotas are being approved.

created

Integer

The timestamp when the application was created.

updated

Integer

The timestamp when the application was last updated.

status

String

The status of the application. Valid values:- producing- review_pending- config_pending- normal- frozen

lockMode

String

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.