Skip to main content

jobs

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

Overview

Namejobs
TypeResource
Idazure_extras.storsimple_1200_series.jobs

Fields

NameDatatypeDescription
idtextThe identifier.
nametextThe name.
backup_point_in_timetextfield from the properties object
deviceNametextfield from the properties object
device_idtextfield from the properties object
download_progresstextfield from the properties object
end_timetextfield from the properties object
entity_idtextfield from the properties object
entity_typetextfield from the properties object
errortextThe job error information containing List of JobErrorItem.
install_progresstextfield from the properties object
is_cancellabletextfield from the properties object
jobNametextfield from the properties object
job_stagestextfield from the properties object
job_typetextfield from the properties object
managerNametextfield from the properties object
percent_completeintegerfield from the properties object
resourceGroupNametextfield from the properties object
source_device_idtextfield from the properties object
start_timetextfield from the properties object
statstextfield from the properties object
statustextCurrent status of the job
subscriptionIdtextfield from the properties object
target_idtextfield from the properties object
target_typetextfield from the properties object
typetextThe type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeviceName, jobName, managerName, resourceGroupName, subscriptionIdReturns the properties of the specified job name.
list_by_deviceSELECTdeviceName, managerName, resourceGroupName, subscriptionIdRetrieves all the jobs in a device.
list_by_managerSELECTmanagerName, resourceGroupName, subscriptionIdRetrieves all the jobs in a manager.

SELECT examples

Retrieves all the jobs in a manager.

SELECT
id,
name,
backup_point_in_time,
deviceName,
device_id,
download_progress,
end_time,
entity_id,
entity_type,
error,
install_progress,
is_cancellable,
jobName,
job_stages,
job_type,
managerName,
percent_complete,
resourceGroupName,
source_device_id,
start_time,
stats,
status,
subscriptionId,
target_id,
target_type,
type
FROM azure_extras.storsimple_1200_series.vw_jobs
WHERE managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';