jobs
Creates, updates, deletes, gets or lists a jobs
resource.
Overview
Name | jobs |
Type | Resource |
Id | azure_extras.storsimple_8000_series.jobs |
Fields
- vw_jobs
- jobs
Name | Datatype | Description |
---|---|---|
id | text | The path ID that uniquely identifies the object. |
name | text | The name of the object. |
backup_point_in_time | text | field from the properties object |
backup_type | text | field from the properties object |
data_stats | text | field from the properties object |
deviceName | text | field from the properties object |
device_id | text | field from the properties object |
end_time | text | field from the properties object |
entity_label | text | field from the properties object |
entity_type | text | field from the properties object |
error | text | The job error details. Contains list of job error items. |
is_cancellable | text | field from the properties object |
jobName | text | field from the properties object |
job_stages | text | field from the properties object |
job_type | text | field from the properties object |
kind | text | The Kind of the object. Currently only Series8000 is supported |
managerName | text | field from the properties object |
percent_complete | integer | field from the properties object |
resourceGroupName | text | field from the properties object |
source_device_id | text | field from the properties object |
start_time | text | field from the properties object |
status | text | The current status of the job. |
subscriptionId | text | field from the properties object |
type | text | The hierarchical type of the object. |
Name | Datatype | Description |
---|---|---|
id | string | The path ID that uniquely identifies the object. |
name | string | The name of the object. |
endTime | string | The UTC time at which the job completed. |
error | object | The job error details. Contains list of job error items. |
kind | string | The Kind of the object. Currently only Series8000 is supported |
percentComplete | integer | The percentage of the job that is already complete. |
properties | object | The properties of the job. |
startTime | string | The UTC time at which the job was started. |
status | string | The current status of the job. |
type | string | The hierarchical type of the object. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | deviceName, jobName, managerName, resourceGroupName, subscriptionId | Gets the details of the specified job name. |
list_by_device | SELECT | deviceName, managerName, resourceGroupName, subscriptionId | Gets all the jobs for specified device. With optional OData query parameters, a filtered set of jobs is returned. |
list_by_manager | SELECT | managerName, resourceGroupName, subscriptionId | Gets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned. |
cancel | EXEC | deviceName, jobName, managerName, resourceGroupName, subscriptionId | Cancels 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.
- vw_jobs
- jobs
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 }}';
SELECT
id,
name,
endTime,
error,
kind,
percentComplete,
properties,
startTime,
status,
type
FROM azure_extras.storsimple_8000_series.jobs
WHERE managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';