alerts_histories
Creates, updates, deletes, gets or lists a alerts_histories
resource.
Overview
Name | alerts_histories |
Type | Resource |
Id | azure.alerts_management.alerts_histories |
Fields
- vw_alerts_histories
- alerts_histories
Name | Datatype | Description |
---|---|---|
id | text | Azure resource Id |
name | text | Azure resource name |
alertId | text | field from the properties object |
alert_id | text | field from the properties object |
modifications | text | field from the properties object |
scope | text | field from the properties object |
type | text | Azure resource type |
Name | Datatype | Description |
---|---|---|
id | string | Azure resource Id |
name | string | Azure resource name |
properties | object | Properties of the alert modification item. |
type | string | Azure resource type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | alertId, scope | Get 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).
- vw_alerts_histories
- alerts_histories
SELECT
id,
name,
alertId,
alert_id,
modifications,
scope,
type
FROM azure.alerts_management.vw_alerts_histories
WHERE alertId = '{{ alertId }}'
AND scope = '{{ scope }}';
SELECT
id,
name,
properties,
type
FROM azure.alerts_management.alerts_histories
WHERE alertId = '{{ alertId }}'
AND scope = '{{ scope }}';