AppGroup

更新时间:
复制 MD 格式

The schema of an OpenSearch application object returned in API responses.

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

FieldTypeDescription
idStringThe ID of the application.
nameStringThe name of the application.
currentVersionStringThe ID of the current online version.
switchedTimeIntegerThe Unix timestamp when the current online version was published.
quotaObjectThe quota information for the application. For more information, see Quota.
chargingWayIntegerThe billable item. Valid values: 1 (computing resources) and 2 (queries per second, QPS).
typeStringThe application type. Valid values: standard (standard application), advance (advanced application, previous type; new applications cannot use this type), and enhanced (advanced application, current type).
versionsArrayThe version IDs of the application.
projectIdStringThe name of the A/B test group. Empty if the application is not part of an A/B test.
chargeTypeStringThe billing method. Valid values: POSTPAY (pay-as-you-go) and PREPAY (subscription).
expireOnStringThe expiration time of the application, in the format yyyy-mm-dd hh:mm:ss. Empty for pay-as-you-go applications.
instanceIdStringThe ID of the instance.
commodityCodeStringThe service code.
processingOrderIdStringThe ID of the pending order for the instance. Empty if there is no pending order.
firstRankAlgoDeploymentIdIntegerThe ID of the deployed rough sort expression.
secondRankAlgoDeploymentIdIntegerThe ID of the deployed fine sort expression.
pendingSecondRankAlgoDeploymentIdIntegerThe ID of the fine sort expression currently being deployed.
descriptionStringThe description of the application.
producedIntegerWhether the order is complete. Valid values: 0 (in progress) and 1 (complete).
hasPendingQuotaReviewTaskIntegerThe quota approval status. Valid values: 0 (approved) and 1 (pending approval).
createdIntegerThe Unix timestamp when the application was created.
updatedIntegerThe Unix timestamp when the application was last updated.
statusStringThe status of the application. Valid values: producing (being created), review_pending (creation pending approval), config_pending (pending configuration), normal (running), and frozen (frozen).
lockModeStringThe lock mode of the instance. Valid values: Unlock (not locked), LockByExpiration (automatically locked after expiration), and ManualLock (manually locked).