vw_update_locations
Creates, updates, deletes, gets or lists a vw_update_locations
resource.
Overview
Name | vw_update_locations |
Type | View |
Id | azure_stack.update_admin.vw_update_locations |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
JSON_EXTRACT(properties, '$.oemFamily') as "oem_family",
JSON_EXTRACT(properties, '$.hardwareModel') as "hardware_model",
JSON_EXTRACT(properties, '$.packageVersions') as "package_versions",
JSON_EXTRACT(properties, '$.currentVersion') as "current_version",
JSON_EXTRACT(properties, '$.currentOemVersion') as "current_oem_version",
JSON_EXTRACT(properties, '$.lastUpdated') as "last_updated",
JSON_EXTRACT(properties, '$.lastChecked') as "last_checked",
JSON_EXTRACT(properties, '$.state') as "state",
subscriptionId,
resourceGroupName,
updateLocation
FROM azure_stack.update_admin.update_locations
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me';
SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
json_extract_path_text(properties, '$.oemFamily') as "oem_family",
json_extract_path_text(properties, '$.hardwareModel') as "hardware_model",
json_extract_path_text(properties, '$.packageVersions') as "package_versions",
json_extract_path_text(properties, '$.currentVersion') as "current_version",
json_extract_path_text(properties, '$.currentOemVersion') as "current_oem_version",
json_extract_path_text(properties, '$.lastUpdated') as "last_updated",
json_extract_path_text(properties, '$.lastChecked') as "last_checked",
json_extract_path_text(properties, '$.state') as "state",
subscriptionId,
resourceGroupName,
updateLocation
FROM azure_stack.update_admin.update_locations
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me';