Skip to main content

jobs

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

Overview

Namejobs
TypeResource
Idazure_extras.storsimple_8000_series.jobs

Fields

NameDatatypeDescription
idtextThe path ID that uniquely identifies the object.
nametextThe name of the object.
backup_point_in_timetextfield from the properties object
backup_typetextfield from the properties object
data_statstextfield from the properties object
deviceNametextfield from the properties object
device_idtextfield from the properties object
end_timetextfield from the properties object
entity_labeltextfield from the properties object
entity_typetextfield from the properties object
errortextThe job error details. Contains list of job error items.
is_cancellabletextfield from the properties object
jobNametextfield from the properties object
job_stagestextfield from the properties object
job_typetextfield from the properties object
kindtextThe Kind of the object. Currently only Series8000 is supported
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
statustextThe current status of the job.
subscriptionIdtextfield from the properties object
typetextThe hierarchical type of the object.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeviceName, jobName, managerName, resourceGroupName, subscriptionIdGets the details of the specified job name.
list_by_deviceSELECTdeviceName, managerName, resourceGroupName, subscriptionIdGets all the jobs for specified device. With optional OData query parameters, a filtered set of jobs is returned.
list_by_managerSELECTmanagerName, resourceGroupName, subscriptionIdGets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned.
cancelEXECdeviceName, jobName, managerName, resourceGroupName, subscriptionIdCancels a job on the device.

SELECT examples

Gets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned.

SELECT
id,
name,
backup_point_in_time,
backup_type,
data_stats,
deviceName,
device_id,
end_time,
entity_label,
entity_type,
error,
is_cancellable,
jobName,
job_stages,
job_type,
kind,
managerName,
percent_complete,
resourceGroupName,
source_device_id,
start_time,
status,
subscriptionId,
type
FROM azure_extras.storsimple_8000_series.vw_jobs
WHERE managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';