Skip to main content

alerts

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

Overview

Namealerts
TypeResource
Idazure.alerts_management.alerts

Fields

NameDatatypeDescription
idtextAzure resource Id
nametextAzure resource name
alertIdtextfield from the properties object
contexttextfield from the properties object
egress_configtextfield from the properties object
essentialstextfield from the properties object
scopetextfield from the properties object
typetextAzure resource type

Methods

NameAccessible byRequired ParamsDescription
get_allSELECTscopeList all existing alerts, where the results can be filtered on the basis of multiple parameters (e.g. time range). The results can then be sorted on the basis specific fields, with the default being lastModifiedDateTime.
get_by_idSELECTalertId, scopeGet information related to a specific alert
change_stateEXECalertId, newState, scopeChange the state of an alert.
meta_dataEXECidentifierList alerts meta data information based on value of identifier parameter.

SELECT examples

List all existing alerts, where the results can be filtered on the basis of multiple parameters (e.g. time range). The results can then be sorted on the basis specific fields, with the default being lastModifiedDateTime.

SELECT
id,
name,
alertId,
context,
egress_config,
essentials,
scope,
type
FROM azure.alerts_management.vw_alerts
WHERE scope = '{{ scope }}';