vw_jobs
Creates, updates, deletes, gets or lists a vw_jobs
resource.
Overview
Name | vw_jobs |
Type | View |
Id | azure_extras.storsimple_1200_series.vw_jobs |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
status as status,
startTime as start_time,
endTime as end_time,
percentComplete as percent_complete,
error as error,
JSON_EXTRACT(properties, '$.jobType') as "job_type",
JSON_EXTRACT(properties, '$.targetId') as "target_id",
JSON_EXTRACT(properties, '$.entityId') as "entity_id",
JSON_EXTRACT(properties, '$.entityType') as "entity_type",
JSON_EXTRACT(properties, '$.jobStages') as "job_stages",
JSON_EXTRACT(properties, '$.deviceId') as "device_id",
JSON_EXTRACT(properties, '$.isCancellable') as "is_cancellable",
JSON_EXTRACT(properties, '$.stats') as "stats",
JSON_EXTRACT(properties, '$.targetType') as "target_type",
JSON_EXTRACT(properties, '$.sourceDeviceId') as "source_device_id",
JSON_EXTRACT(properties, '$.backupPointInTime') as "backup_point_in_time",
JSON_EXTRACT(properties, '$.downloadProgress') as "download_progress",
JSON_EXTRACT(properties, '$.installProgress') as "install_progress",
subscriptionId,
resourceGroupName,
managerName,
deviceName,
jobName
FROM azure_extras.storsimple_1200_series.jobs
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND managerName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
status as status,
startTime as start_time,
endTime as end_time,
percentComplete as percent_complete,
error as error,
json_extract_path_text(properties, '$.jobType') as "job_type",
json_extract_path_text(properties, '$.targetId') as "target_id",
json_extract_path_text(properties, '$.entityId') as "entity_id",
json_extract_path_text(properties, '$.entityType') as "entity_type",
json_extract_path_text(properties, '$.jobStages') as "job_stages",
json_extract_path_text(properties, '$.deviceId') as "device_id",
json_extract_path_text(properties, '$.isCancellable') as "is_cancellable",
json_extract_path_text(properties, '$.stats') as "stats",
json_extract_path_text(properties, '$.targetType') as "target_type",
json_extract_path_text(properties, '$.sourceDeviceId') as "source_device_id",
json_extract_path_text(properties, '$.backupPointInTime') as "backup_point_in_time",
json_extract_path_text(properties, '$.downloadProgress') as "download_progress",
json_extract_path_text(properties, '$.installProgress') as "install_progress",
subscriptionId,
resourceGroupName,
managerName,
deviceName,
jobName
FROM azure_extras.storsimple_1200_series.jobs
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND managerName = 'replace-me';