Skip to main content

jobs

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

Overview

Namejobs
TypeResource
Idazure_extras.storsimple_1200_series.jobs

Fields

The following fields are returned by SELECT queries:

The job.

NameDatatypeDescription
idstringThe identifier.
namestringThe name.
endTimestring (date-time)The UTC time at which the job completed
errorobjectThe Error details.
percentCompleteinteger (int32)The percentage of the job that is already complete
propertiesobjectOther properties of the job
startTimestring (date-time)The UTC time at which the job was started
statusstringCurrent status of the job
typestringThe type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdeviceName, jobName, subscriptionId, resourceGroupName, managerNameReturns the properties of the specified job name.
list_by_deviceselectdeviceName, subscriptionId, resourceGroupName, managerName$filterRetrieves all the jobs in a device.
list_by_managerselectsubscriptionId, resourceGroupName, managerName$filterRetrieves all the jobs in a manager.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deviceNamestringThe device name.
jobNamestringThe job name.
managerNamestringThe manager name
resourceGroupNamestringThe resource group name
subscriptionIdstringThe subscription id
$filterstringOData Filter options

SELECT examples

Returns the properties of the specified job name.

SELECT
id,
name,
endTime,
error,
percentComplete,
properties,
startTime,
status,
type
FROM azure_extras.storsimple_1200_series.jobs
WHERE deviceName = '{{ deviceName }}' -- required
AND jobName = '{{ jobName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND managerName = '{{ managerName }}' -- required
;