JobExecution Class

An execution of a job.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.sql.models._models_py3.ProxyResource
JobExecution

Constructor

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

Parameters

Name Description
current_attempts
Required
int

Number of times the job execution has been attempted.

Keyword-Only Parameters

Name Description
current_attempts
Required

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

job_version
int

The job version number.

step_name
str

The job step name.

step_id
int

The job step id.

job_execution_id
str

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
str

The last status or error message.

target

The target that this execution is executed on.