共用方式為


Job.ExecutionState 屬性

定義

取得執行狀態。

[Newtonsoft.Json.JsonProperty(PropertyName="properties.executionState")]
public string ExecutionState { get; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.executionState")>]
member this.ExecutionState : string
Public ReadOnly Property ExecutionState As String

屬性值

屬性
Newtonsoft.Json.JsonPropertyAttribute

備註

作業的目前狀態。 可能的值為:已排入佇列 - 作業已排入佇列且能夠執行。 作業會在建立時進入此狀態,或在失敗執行後等候重試時進入此狀態。 running - 作業正在計算叢集上執行。 這包括作業層級準備,例如下載資源檔或設定作業上指定的容器 , 不一定表示作業命令列已開始執行。 終止 - 作業由使用者終止,終止作業正在進行中。 succeeded - 作業已完成執行,並結束代碼 0。 failed - 作業已順利完成, (非零結束代碼) 失敗,並已耗盡其重試限制。 如果啟動作業時發生錯誤,作業也會標示為失敗。 可能的值包括:'queued'、'running'、'terminating'、'succeeded'、'failed'

適用於