Skip to main content

alert_configurations

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

Overview

Namealert_configurations
TypeResource
Idazure.authorization.alert_configurations

Fields

NameDatatypeDescription
idtextThe alert configuration ID.
nametextThe alert configuration name.
alertIdtextfield from the properties object
alert_configuration_typetextfield from the properties object
alert_definitiontextfield from the properties object
alert_definition_idtextfield from the properties object
is_enabledtextfield from the properties object
scopetextfield from the properties object
typetextThe alert configuration type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTalertId, scopeGet the specified alert configuration.
list_for_scopeSELECTscopeGets alert configurations for a resource scope.
updateUPDATEalertId, scopeUpdate an alert configuration.

SELECT examples

Gets alert configurations for a resource scope.

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 }}';

UPDATE example

Updates a alert_configurations resource.

/*+ update */
UPDATE azure.authorization.alert_configurations
SET
properties = '{{ properties }}'
WHERE
alertId = '{{ alertId }}'
AND scope = '{{ scope }}';