The schema of an OpenSearch application, returned by application management APIs.
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 of the application. For more information, see Quota. |
| chargingWay | Integer | The billable item. Valid values: 1 (compute resources) and 2 (queries per second (QPS)). |
| type | String | The type of the application. Valid values: standard (standard application), advance (advanced application of the previous type), and enhanced (advanced application of the new type). New applications cannot be of the advance type. |
| versions | Array | The versions of the application. |
| projectId | String | The name of the A/B test group. |
| chargeType | String | The billing method. Valid values: POSTPAY (pay-as-you-go) and PREPAY (subscription). |
| expireOn | String | The time when the application expires, in the format 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 incomplete order 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 | The order completion status. Valid values: 0 (order in progress) and 1 (order complete). |
| hasPendingQuotaReviewTask | Integer | The quota approval status. Valid values: 0 (approved) and 1 (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 (being created), review_pending (creation being approved), config_pending (to be configured), normal (running), and frozen (frozen). |
| lockMode | String | The lock mode of the instance. Valid values: Unlock (not locked), LockByExpiration (automatically locked after expiry), and ManualLock (manually locked). |