vw_update_runs
Creates, updates, deletes, gets or lists a vw_update_runs
resource.
Overview
Name | vw_update_runs |
Type | View |
Id | azure_stack.azure_stack_hci.vw_update_runs |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.timeStarted') as "time_started",
JSON_EXTRACT(properties, '$.lastUpdatedTime') as "last_updated_time",
JSON_EXTRACT(properties, '$.duration') as "duration",
JSON_EXTRACT(properties, '$.state') as "state",
JSON_EXTRACT(properties, '$.progress') as "progress",
subscriptionId,
resourceGroupName,
clusterName,
updateName,
updateRunName
FROM azure_stack.azure_stack_hci.update_runs
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND clusterName = 'replace-me' AND updateName = 'replace-me';
SELECT
location as location,
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.timeStarted') as "time_started",
json_extract_path_text(properties, '$.lastUpdatedTime') as "last_updated_time",
json_extract_path_text(properties, '$.duration') as "duration",
json_extract_path_text(properties, '$.state') as "state",
json_extract_path_text(properties, '$.progress') as "progress",
subscriptionId,
resourceGroupName,
clusterName,
updateName,
updateRunName
FROM azure_stack.azure_stack_hci.update_runs
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND clusterName = 'replace-me' AND updateName = 'replace-me';