vw_data_transfer_jobs
Creates, updates, deletes, gets or lists a vw_data_transfer_jobs
resource.
Overview
Name | vw_data_transfer_jobs |
Type | View |
Id | azure.cosmos_db.vw_data_transfer_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,
JSON_EXTRACT(properties, '$.jobName') as "job_name",
JSON_EXTRACT(properties, '$.source') as "source",
JSON_EXTRACT(properties, '$.destination') as "destination",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.processedCount') as "processed_count",
JSON_EXTRACT(properties, '$.totalCount') as "total_count",
JSON_EXTRACT(properties, '$.lastUpdatedUtcTime') as "last_updated_utc_time",
JSON_EXTRACT(properties, '$.workerCount') as "worker_count",
JSON_EXTRACT(properties, '$.error') as "error",
JSON_EXTRACT(properties, '$.duration') as "duration",
JSON_EXTRACT(properties, '$.mode') as "mode",
subscriptionId,
resourceGroupName,
accountName,
jobName
FROM azure.cosmos_db.data_transfer_jobs
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND accountName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
json_extract_path_text(properties, '$.jobName') as "job_name",
json_extract_path_text(properties, '$.source') as "source",
json_extract_path_text(properties, '$.destination') as "destination",
json_extract_path_text(properties, '$.status') as "status",
json_extract_path_text(properties, '$.processedCount') as "processed_count",
json_extract_path_text(properties, '$.totalCount') as "total_count",
json_extract_path_text(properties, '$.lastUpdatedUtcTime') as "last_updated_utc_time",
json_extract_path_text(properties, '$.workerCount') as "worker_count",
json_extract_path_text(properties, '$.error') as "error",
json_extract_path_text(properties, '$.duration') as "duration",
json_extract_path_text(properties, '$.mode') as "mode",
subscriptionId,
resourceGroupName,
accountName,
jobName
FROM azure.cosmos_db.data_transfer_jobs
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND accountName = 'replace-me';