DeployedAlgorithm

Updated at:

This topic describes the data structure of DeployedAlgorithm.

Description

An algorithm deployment that has been successfully deployed for an OpenSearch application.

Example

{
    "id": "281",
    "appGroupName": "tongtianhe_apitest",
    "scene": "SECOND_RANK",
    "desc": "",
    "models": [{
        "modelName": "popV2",
        "modelId": 363,
        "progress": 100,
        "status": "IN_SERVICE",
        "projectId": 1747,
        "algorithmType": "POP"
    }],
    "gmtCreate": "2020-02-07T10:59:12+0000",
    "gmtModified": "2020-02-07T11:15:02+0000",
    "status": "IN_SERVICE",
    "apps": [
        "100298098"
    ]
}

Structure

Field

Type

Description

id

Integer

The deployment ID.

appGroupName

String

The application name.

scene

String

The deployment scenario. - FIRST_RANK: rough sort - SECOND_RANK: fine sort

desc

String

The description.

models[]

Object

The algorithm models that are successfully deployed. For more information, see DeployedAlgorithmModel

status

String

The deployment status. Valid values: UNKNOWN: unknown. PREDICTING: predicting. PENDING: pending deployment. REINDEX_PENDING: waiting for index rebuilding. REINDEXING: rebuilding indexes (rough sort deployment in progress). DEPLOYING: deploying (fine sort deployment in progress). IN_SERVICE: in effect. OFFLINE: offline. TARGET_MISSING: the deployment target no longer exists.

apps

Array

The versions in which the deployment takes effect.

gmtCreate

String

The time when the deployment was performed.

gmtModified

String

The time when the deployment was last updated.