alert_configurations
Creates, updates, deletes, gets or lists a alert_configurations
resource.
Overview
Name | alert_configurations |
Type | Resource |
Id | azure.authorization.alert_configurations |
Fields
- vw_alert_configurations
- alert_configurations
Name | Datatype | Description |
---|---|---|
id | text | The alert configuration ID. |
name | text | The alert configuration name. |
alertId | text | field from the properties object |
alert_configuration_type | text | field from the properties object |
alert_definition | text | field from the properties object |
alert_definition_id | text | field from the properties object |
is_enabled | text | field from the properties object |
scope | text | field from the properties object |
type | text | The alert configuration type. |
Name | Datatype | Description |
---|---|---|
id | string | The alert configuration ID. |
name | string | The alert configuration name. |
properties | object | Alert configuration properties. |
type | string | The alert configuration type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | alertId, scope | Get the specified alert configuration. |
list_for_scope | SELECT | scope | Gets alert configurations for a resource scope. |
update | UPDATE | alertId, scope | Update an alert configuration. |
SELECT
examples
Gets alert configurations for a resource scope.
- vw_alert_configurations
- alert_configurations
SELECT
id,
name,
alertId,
alert_configuration_type,
alert_definition,
alert_definition_id,
is_enabled,
scope,
type
FROM azure.authorization.vw_alert_configurations
WHERE scope = '{{ scope }}';
SELECT
id,
name,
properties,
type
FROM azure.authorization.alert_configurations
WHERE scope = '{{ scope }}';
UPDATE
example
Updates a alert_configurations
resource.
/*+ update */
UPDATE azure.authorization.alert_configurations
SET
properties = '{{ properties }}'
WHERE
alertId = '{{ alertId }}'
AND scope = '{{ scope }}';