vw_workflows
Creates, updates, deletes, gets or lists a vw_workflows
resource.
Overview
Name | vw_workflows |
Type | View |
Id | azure.storage_sync.vw_workflows |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.lastStepName') as "last_step_name",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.operation') as "operation",
JSON_EXTRACT(properties, '$.steps') as "steps",
JSON_EXTRACT(properties, '$.lastOperationId') as "last_operation_id",
JSON_EXTRACT(properties, '$.commandName') as "command_name",
JSON_EXTRACT(properties, '$.createdTimestamp') as "created_timestamp",
JSON_EXTRACT(properties, '$.lastStatusTimestamp') as "last_status_timestamp",
subscriptionId,
resourceGroupName,
storageSyncServiceName,
workflowId
FROM azure.storage_sync.workflows
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND storageSyncServiceName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.lastStepName') as "last_step_name",
json_extract_path_text(properties, '$.status') as "status",
json_extract_path_text(properties, '$.operation') as "operation",
json_extract_path_text(properties, '$.steps') as "steps",
json_extract_path_text(properties, '$.lastOperationId') as "last_operation_id",
json_extract_path_text(properties, '$.commandName') as "command_name",
json_extract_path_text(properties, '$.createdTimestamp') as "created_timestamp",
json_extract_path_text(properties, '$.lastStatusTimestamp') as "last_status_timestamp",
subscriptionId,
resourceGroupName,
storageSyncServiceName,
workflowId
FROM azure.storage_sync.workflows
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND storageSyncServiceName = 'replace-me';