vw_jobs
Creates, updates, deletes, gets or lists a vw_jobs
resource.
Overview
Name | vw_jobs |
Type | View |
Id | azure_extras.storsimple_8000_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,
kind as kind,
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, '$.dataStats') as "data_stats",
JSON_EXTRACT(properties, '$.entityLabel') as "entity_label",
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, '$.backupType') as "backup_type",
JSON_EXTRACT(properties, '$.sourceDeviceId') as "source_device_id",
JSON_EXTRACT(properties, '$.backupPointInTime') as "backup_point_in_time",
subscriptionId,
resourceGroupName,
managerName,
deviceName,
jobName
FROM azure_extras.storsimple_8000_series.jobs
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND managerName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
kind as kind,
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, '$.dataStats') as "data_stats",
json_extract_path_text(properties, '$.entityLabel') as "entity_label",
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, '$.backupType') as "backup_type",
json_extract_path_text(properties, '$.sourceDeviceId') as "source_device_id",
json_extract_path_text(properties, '$.backupPointInTime') as "backup_point_in_time",
subscriptionId,
resourceGroupName,
managerName,
deviceName,
jobName
FROM azure_extras.storsimple_8000_series.jobs
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND managerName = 'replace-me';