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

JobExecution 类

作业的执行。

变量仅由服务器填充,在发送请求时将被忽略。

继承
azure.mgmt.sql.models._models_py3.ProxyResource
JobExecution

构造函数

JobExecution(*, current_attempts: int | None = None, **kwargs)

参数

名称 说明
current_attempts
必需
int

已尝试执行作业的次数。

仅限关键字的参数

名称 说明
current_attempts
必需

变量

名称 说明
id
str

资源 ID。

name
str

资源名称。

type
str

资源类型。

job_version
int

作业版本号。

step_name
str

作业步骤名称。

step_id
int

作业步骤 ID。

job_execution_id
str

作业执行的唯一标识符。

lifecycle

作业执行的详细状态。 可能的值包括:“Created”、“InProgress”、“WaitingForChildJobExecutions”、“WaitingForRetry”、“Succeeded”、“Succeeded”、“SucceededWithSkipped”、“Failed”、“TimedOut”、“Canceled”、“Skipped”。

provisioning_state

作业执行的 ARM 预配状态。 可能的值包括:“Created”、“InProgress”、“Succeeded”、“Failed”、“Canceled”。

create_time

创建作业执行的时间。

start_time

作业执行开始的时间。

end_time

作业执行完成的时间。

current_attempt_start_time

当前尝试的开始时间。

last_message
str

最后一个状态或错误消息。

target

执行此执行的目标。