你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

注解

作业的当前状态。 可能的值为:queued - 作业已排队且能够运行。 作业在创建时进入此状态,或者在运行失败后等待重试时进入此状态。 running - 作业在计算群集上运行。 这包括作业级别的准备,例如下载资源文件或设置作业中指定的容器 - 这不一定意味着作业命令行已开始执行。 terminateing - 作业由用户终止,终止操作正在进行中。 succeeded - 作业已成功完成运行,退出代码为 0。 failed - 作业已完成失败, (失败并出现非零退出代码) ,并且已用尽重试限制。 如果启动作业时出错,作业也会标记为失败。 可能的值包括:“queued”、“running”、“terminating”、“succeeded”、“failed”

适用于