Skip to main content

vw_jobs

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

Overview

Namevw_jobs
TypeView
Idazure.data_box.vw_jobs

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
id as id,
name as name,
location as location,
tags as tags,
sku as sku,
identity as identity,
type as type,
systemData as system_data,
JSON_EXTRACT(properties, '$.transferType') as "transfer_type",
JSON_EXTRACT(properties, '$.isCancellable') as "is_cancellable",
JSON_EXTRACT(properties, '$.isDeletable') as "is_deletable",
JSON_EXTRACT(properties, '$.isShippingAddressEditable') as "is_shipping_address_editable",
JSON_EXTRACT(properties, '$.reverseShippingDetailsUpdate') as "reverse_shipping_details_update",
JSON_EXTRACT(properties, '$.reverseTransportPreferenceUpdate') as "reverse_transport_preference_update",
JSON_EXTRACT(properties, '$.isPrepareToShipEnabled') as "is_prepare_to_ship_enabled",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.delayedStage') as "delayed_stage",
JSON_EXTRACT(properties, '$.startTime') as "start_time",
JSON_EXTRACT(properties, '$.error') as "error",
JSON_EXTRACT(properties, '$.details') as "details",
JSON_EXTRACT(properties, '$.cancellationReason') as "cancellation_reason",
JSON_EXTRACT(properties, '$.deliveryType') as "delivery_type",
JSON_EXTRACT(properties, '$.deliveryInfo') as "delivery_info",
JSON_EXTRACT(properties, '$.isCancellableWithoutFee') as "is_cancellable_without_fee",
JSON_EXTRACT(properties, '$.allDevicesLost') as "all_devices_lost",
subscriptionId,
resourceGroupName,
jobName
FROM azure.data_box.jobs
WHERE subscriptionId = 'replace-me';