JobExecution Class
An execution of a job.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
JobExecution(*, current_attempts: int | None = None, **kwargs)
Parameters
| Name | Description |
|---|---|
|
current_attempts
Required
|
Number of times the job execution has been attempted. |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
current_attempts
|
Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
Resource ID. |
|
name
|
Resource name. |
|
type
|
Resource type. |
|
job_version
|
The job version number. |
|
step_name
|
The job step name. |
|
step_id
|
The job step id. |
|
job_execution_id
|
The unique identifier of the job execution. |
|
lifecycle
|
The detailed state of the job execution. Possible values include: "Created", "InProgress", "WaitingForChildJobExecutions", "WaitingForRetry", "Succeeded", "SucceededWithSkipped", "Failed", "TimedOut", "Canceled", "Skipped". |
|
provisioning_state
|
The ARM provisioning state of the job execution. Possible values include: "Created", "InProgress", "Succeeded", "Failed", "Canceled". |
|
create_time
|
The time that the job execution was created. |
|
start_time
|
The time that the job execution started. |
|
end_time
|
The time that the job execution completed. |
|
current_attempt_start_time
|
Start time of the current attempt. |
|
last_message
|
The last status or error message. |
|
target
|
The target that this execution is executed on. |