Skip to main content

jobs

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

Overview

Namejobs
TypeResource
Idazure.hybrid_data_manager.jobs

Fields

NameDatatypeDescription
idtextId of the object.
nametextName of the object.
bytes_processedtextfield from the properties object
dataManagerNametextfield from the properties object
dataServiceNametextfield from the properties object
data_sink_nametextfield from the properties object
data_source_nametextfield from the properties object
detailstextfield from the properties object
end_timetextfield from the properties object
errortextTop level error for the job.
is_cancellabletextfield from the properties object
items_processedtextfield from the properties object
jobDefinitionNametextfield from the properties object
jobIdtextfield from the properties object
resourceGroupNametextfield from the properties object
start_timetextfield from the properties object
statustextStatus of the job.
subscriptionIdtextfield from the properties object
total_bytes_to_processtextfield from the properties object
total_items_to_processtextfield from the properties object
typetextType of the object.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdataManagerName, dataServiceName, jobDefinitionName, jobId, resourceGroupName, subscriptionIdThis method gets a data manager job given the jobId.
list_by_data_managerSELECTdataManagerName, resourceGroupName, subscriptionIdThis method gets all the jobs at the data manager resource level.
list_by_data_serviceSELECTdataManagerName, dataServiceName, resourceGroupName, subscriptionIdThis method gets all the jobs of a data service type in a given resource.
list_by_job_definitionSELECTdataManagerName, dataServiceName, jobDefinitionName, resourceGroupName, subscriptionIdThis method gets all the jobs of a given job definition.
cancelEXECdataManagerName, dataServiceName, jobDefinitionName, jobId, resourceGroupName, subscriptionIdCancels the given job.
resumeEXECdataManagerName, dataServiceName, jobDefinitionName, jobId, resourceGroupName, subscriptionIdResumes the given job.

SELECT examples

This method gets all the jobs at the data manager resource level.

SELECT
id,
name,
bytes_processed,
dataManagerName,
dataServiceName,
data_sink_name,
data_source_name,
details,
end_time,
error,
is_cancellable,
items_processed,
jobDefinitionName,
jobId,
resourceGroupName,
start_time,
status,
subscriptionId,
total_bytes_to_process,
total_items_to_process,
type
FROM azure.hybrid_data_manager.vw_jobs
WHERE dataManagerName = '{{ dataManagerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';