vw_alert_processing_rules
Creates, updates, deletes, gets or lists a vw_alert_processing_rules
resource.
Overview
Name | vw_alert_processing_rules |
Type | View |
Id | azure.alerts_management.vw_alert_processing_rules |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
tags as tags,
systemData as system_data,
JSON_EXTRACT(properties, '$.scopes') as "scopes",
JSON_EXTRACT(properties, '$.conditions') as "conditions",
JSON_EXTRACT(properties, '$.schedule') as "schedule",
JSON_EXTRACT(properties, '$.actions') as "actions",
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.enabled') as "enabled",
subscriptionId,
resourceGroupName,
alertProcessingRuleName
FROM azure.alerts_management.alert_processing_rules
WHERE subscriptionId = 'replace-me';
SELECT
location as location,
tags as tags,
systemData as system_data,
json_extract_path_text(properties, '$.scopes') as "scopes",
json_extract_path_text(properties, '$.conditions') as "conditions",
json_extract_path_text(properties, '$.schedule') as "schedule",
json_extract_path_text(properties, '$.actions') as "actions",
json_extract_path_text(properties, '$.description') as "description",
json_extract_path_text(properties, '$.enabled') as "enabled",
subscriptionId,
resourceGroupName,
alertProcessingRuleName
FROM azure.alerts_management.alert_processing_rules
WHERE subscriptionId = 'replace-me';