vw_alerts
Creates, updates, deletes, gets or lists a vw_alerts
resource.
Overview
Name | vw_alerts |
Type | View |
Id | azure.data_box_edge.vw_alerts |
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,
systemData as system_data,
JSON_EXTRACT(properties, '$.title') as "title",
JSON_EXTRACT(properties, '$.alertType') as "alert_type",
JSON_EXTRACT(properties, '$.appearedAtDateTime') as "appeared_at_date_time",
JSON_EXTRACT(properties, '$.recommendation') as "recommendation",
JSON_EXTRACT(properties, '$.severity') as "severity",
JSON_EXTRACT(properties, '$.errorDetails') as "error_details",
JSON_EXTRACT(properties, '$.detailedInformation') as "detailed_information",
subscriptionId,
resourceGroupName,
deviceName,
name
FROM azure.data_box_edge.alerts
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND deviceName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.title') as "title",
json_extract_path_text(properties, '$.alertType') as "alert_type",
json_extract_path_text(properties, '$.appearedAtDateTime') as "appeared_at_date_time",
json_extract_path_text(properties, '$.recommendation') as "recommendation",
json_extract_path_text(properties, '$.severity') as "severity",
json_extract_path_text(properties, '$.errorDetails') as "error_details",
json_extract_path_text(properties, '$.detailedInformation') as "detailed_information",
subscriptionId,
resourceGroupName,
deviceName,
name
FROM azure.data_box_edge.alerts
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND deviceName = 'replace-me';