Skip to main content

alert_configurations

Creates, updates, deletes, gets or lists an alert_configurations resource.

Overview

Namealert_configurations
TypeResource
Idazure.authorization.alert_configurations

Fields

The following fields are returned by SELECT queries:

OK - Returns information about the alert configuration.

NameDatatypeDescription
idstringThe alert configuration ID.
namestringThe alert configuration name.
propertiesobjectAlert configuration properties.
typestringThe alert configuration type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectscope, alertIdGet the specified alert configuration.
list_for_scopeselectscopeGets alert configurations for a resource scope.
updateupdatescope, alertIdUpdate an alert configuration.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
alertIdstringThe name of the alert configuration to update.
scopestringThe scope of the alert configuration.

SELECT examples

Get the specified alert configuration.

SELECT
id,
name,
properties,
type
FROM azure.authorization.alert_configurations
WHERE scope = '{{ scope }}' -- required
AND alertId = '{{ alertId }}' -- required
;

UPDATE examples

Update an alert configuration.

UPDATE azure.authorization.alert_configurations
SET
data__properties = '{{ properties }}'
WHERE
scope = '{{ scope }}' --required
AND alertId = '{{ alertId }}' --required;