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 billable item. Valid values: 1 and 2. The value of 1 indicates computing resources. The value of 2 indicates queries per second (QPS). |
type | String | The type of the application. Valid values: standard, advance, and enhanced. The value of standard indicates a standard application. The value of advance indicates an advanced application that is of a previous application type, whereas the value of enhanced indicates an advanced application that is of a new application type. New applications cannot be of the advance type. |
versions | Array | The versions. |
projectId | String | The name of the A/B test group. |
chargeType | String | The billing method. Valid values: POSTPAY and PREPAY. The value of POSTPAY indicates the pay-as-you-go billing method. The value of PREPAY indicates the subscription billing method. |
expireOn | String | The time when the application expires, in the format of yyyy-mm-dd hh:mm:ss. |
instanceId | String | The ID of the instance. |
commodityCode | String | The code of the service. |
processingOrderId | String | The ID of the order that is not complete for the instance. |
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 and 1. The value of 0 indicates that the order is in progress. The value of 1 indicates that the order is complete. |
hasPendingQuotaReviewTask | Integer | The approval status of the quotas. Valid values: 0 and 1. The value of 0 indicates that the quotas are approved. The value of 1 indicates that the quotas are being approved. |
created | Integer | The timestamp generated when the application was created. |
updated | Integer | The timestamp generated when the application was last updated. |
status | String | The status of the application. Valid values: producing, review_pending, config_pending, normal, and frozen. The value of producing indicates that the application is being created. The value of review_pending indicates that the creation of the application is being approved. The value of config_pending indicates that the application is to be configured. The value of normal indicates that the application is properly running. The value of frozen indicates that the application is frozen. |
lockMode | String | The lock mode of the instance. Valid values: Unlock, LockByExpiration, and ManualLock. The value of Unlock indicates that the instance is not locked. The value of LockByExpiration indicates that the instance is automatically locked after it expires. The value of ManualLock indicates that the instance is manually locked. |