Model Serve
- Model Serve
- 所有产品
GET <server URL>/disnext/api/v1/CodeTask/JobStatus/<Code task job ID>
フィールド
| タイプ
| 説明
|
---|---|---|
codeTaskName
| String
| コードタスク の名前。
|
codeTaskId
| 数値
| コードタスク のID。
|
agentGroupId
| String
| コードタスク の実行に使用されるSecure Agentを含むランタイム環境。
|
executionState
| String
| ジョブの状態: QUEUED、RUNNING、SUCCEEDED、FAILED、CANCELLED ジョブステータス。ジョブは、次のいずれかの状態になります。
|
sessionLogUrl
| String
| セッションログファイルのURL。
|
assignedServerlessComputeUnits
| Double
| 1時間あたりのタスクが要求したサーバーレスコンピューティングユニット数。
タスクがサーバーレスランタイム環境で実行される場合、要求されたコンピューティングユニット数を表示できます。
|
consumedServerlessComputeUnits
| Double
| タスクが使用したサーバーレスコンピューティングユニットの合計数。
タスクがサーバーレスランタイム環境で実行される場合、使用されたコンピューティングユニット数を表示できます。
|
firstErrorMessage
| String
| ジョブに関連付けられているエラーメッセージ(ある場合)。
|
GET <server URL>/disnext/api/v1/CodeTask/JobStatus/<Code task job ID> Content-Type: application/json Accept: application/json IDS-SESSION-ID:{{IDS_SESSION_ID}}
{ "status": "RUNNING", "startTime": "2022-04-04T20:23:57.000", "updateTime": "2022-04-04T20:23:58.000", "endTime": null, "instanceName": "Demo-2", "assetName": "Demo", "runId": 2, "orgId": "kuJVH54wm6gfhVj4QEdboY", "startedBy": "coder@examplecompany.com", "runtimeEnvId": "01000025000000000003", "codeTaskId": 2, "errorMessage": "", "sessionLogUrl": "logservice/api/v1/jobs/8zcuMdImeshidZ4XVExs20/logs", "agentJobLogUrl": null, "advancedLogLocation": null, "advancedLogDownloadUrl": null }
{ "status": "FAILED", "startTime": "2022-03-10T17:23:29.000", "updateTime": "2022-03-10T17:23:34.000", "endTime": "2022-03-10T17:23:34.000", "instanceName": "Demo-2", "assetName": "Demo", "runId": 2, "orgId": "4nuRA6NIsI6lvUBYamL76P", "startedBy": "coder@examplecompany.com", "runtimeEnvId": "01000025000000000003", "codeTaskId": 477, "errorMessage": "WES_internal_error_Failed to start cluster for [01000025000000000003]. Error reported while starting cluster [404 {\"code\":\"CONFIG.NOT_FOUND_id\",\"message\":\"Internal error. Cannot find an advanced configuration with ID 01000025000000000003. Contact Informatica Global Customer Support.\",\"debugMessage\":\"Internal error. Cannot find an advanced configurati[truncated]. For more information about the failure, check the application log.If the problem persists, contact Informatica Global Customer Support.", "sessionLogUrl": "logservice/api/v1//jobs/6pqqt9KTgi3l9jyVnAajei/logs", "agentJobLogUrl": null, "advancedLogLocation": null, "advancedLogDownloadUrl": null }