你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
JobExecution 类
作业的执行。
变量仅由服务器填充,在发送请求时将被忽略。
- 继承
-
azure.mgmt.sql.models._models_py3.ProxyResourceJobExecution
构造函数
JobExecution(*, current_attempts: int | None = None, **kwargs)
参数
名称 | 说明 |
---|---|
current_attempts
必需
|
已尝试执行作业的次数。 |
仅限关键字的参数
名称 | 说明 |
---|---|
current_attempts
必需
|
|
变量
名称 | 说明 |
---|---|
id
|
资源 ID。 |
name
|
资源名称。 |
type
|
资源类型。 |
job_version
|
作业版本号。 |
step_name
|
作业步骤名称。 |
step_id
|
作业步骤 ID。 |
job_execution_id
|
作业执行的唯一标识符。 |
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
|
最后一个状态或错误消息。 |
target
|
执行此执行的目标。 |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈