Skip to main content

alerts_histories

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

Overview

Namealerts_histories
TypeResource
Idazure.alerts_management.alerts_histories

Fields

NameDatatypeDescription
idtextAzure resource Id
nametextAzure resource name
alertIdtextfield from the properties object
alert_idtextfield from the properties object
modificationstextfield from the properties object
scopetextfield from the properties object
typetextAzure resource type

Methods

NameAccessible byRequired ParamsDescription
getSELECTalertId, scopeGet the history of an alert, which captures any monitor condition changes (Fired/Resolved) and alert state changes (New/Acknowledged/Closed).

SELECT examples

Get the history of an alert, which captures any monitor condition changes (Fired/Resolved) and alert state changes (New/Acknowledged/Closed).

SELECT
id,
name,
alertId,
alert_id,
modifications,
scope,
type
FROM azure.alerts_management.vw_alerts_histories
WHERE alertId = '{{ alertId }}'
AND scope = '{{ scope }}';