vw_alert_configurations
Creates, updates, deletes, gets or lists a vw_alert_configurations
resource.
Overview
Name | vw_alert_configurations |
Type | View |
Id | azure.authorization.vw_alert_configurations |
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,
JSON_EXTRACT(properties, '$.alertDefinitionId') as "alert_definition_id",
JSON_EXTRACT(properties, '$.scope') as "scope",
JSON_EXTRACT(properties, '$.isEnabled') as "is_enabled",
JSON_EXTRACT(properties, '$.alertConfigurationType') as "alert_configuration_type",
JSON_EXTRACT(properties, '$.alertDefinition') as "alert_definition",
scope,
alertId
FROM azure.authorization.alert_configurations
WHERE scope = 'replace-me';
SELECT
id as id,
name as name,
type as type,
json_extract_path_text(properties, '$.alertDefinitionId') as "alert_definition_id",
json_extract_path_text(properties, '$.scope') as "scope",
json_extract_path_text(properties, '$.isEnabled') as "is_enabled",
json_extract_path_text(properties, '$.alertConfigurationType') as "alert_configuration_type",
json_extract_path_text(properties, '$.alertDefinition') as "alert_definition",
scope,
alertId
FROM azure.authorization.alert_configurations
WHERE scope = 'replace-me';