Skip to main content

job_step_executions

Creates, updates, deletes, gets or lists a job_step_executions resource.

Overview

Namejob_step_executions
TypeResource
Idazure.sql.job_step_executions

Fields

NameDatatypeDescription
create_timetextfield from the properties object
current_attempt_start_timetextfield from the properties object
current_attemptstextfield from the properties object
end_timetextfield from the properties object
jobAgentNametextfield from the properties object
jobExecutionIdtextfield from the properties object
jobNametextfield from the properties object
job_execution_idtextfield from the properties object
job_versiontextfield from the properties object
last_messagetextfield from the properties object
lifecycletextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
serverNametextfield from the properties object
start_timetextfield from the properties object
stepNametextfield from the properties object
step_idtextfield from the properties object
step_nametextfield from the properties object
subscriptionIdtextfield from the properties object
targettextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTjobAgentName, jobExecutionId, jobName, resourceGroupName, serverName, stepName, subscriptionIdGets a step execution of a job execution.
list_by_job_executionSELECTjobAgentName, jobExecutionId, jobName, resourceGroupName, serverName, subscriptionIdLists the step executions of a job execution.

SELECT examples

Lists the step executions of a job execution.

SELECT
create_time,
current_attempt_start_time,
current_attempts,
end_time,
jobAgentName,
jobExecutionId,
jobName,
job_execution_id,
job_version,
last_message,
lifecycle,
provisioning_state,
resourceGroupName,
serverName,
start_time,
stepName,
step_id,
step_name,
subscriptionId,
target
FROM azure.sql.vw_job_step_executions
WHERE jobAgentName = '{{ jobAgentName }}'
AND jobExecutionId = '{{ jobExecutionId }}'
AND jobName = '{{ jobName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';