Skip to main content

alerts

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

Overview

Namealerts
TypeResource
Idazure.cost_management.alerts

Fields

NameDatatypeDescription
idtextResource Id.
nametextResource name.
descriptiontextfield from the properties object
alertIdtextfield from the properties object
close_timetextfield from the properties object
cost_entity_idtextfield from the properties object
creation_timetextfield from the properties object
definitiontextfield from the properties object
detailstextfield from the properties object
e_tagtextfield from the properties object
modification_timetextfield from the properties object
scopetextfield from the properties object
sourcetextfield from the properties object
statustextfield from the properties object
status_modification_timetextfield from the properties object
status_modification_user_nametextfield from the properties object
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTalertId, scopeGets the alert for the scope by alert ID.
listSELECTscopeLists the alerts for scope defined.
dismissEXECalertId, scopeDismisses the specified alert

SELECT examples

Lists the alerts for scope defined.

SELECT
id,
name,
description,
alertId,
close_time,
cost_entity_id,
creation_time,
definition,
details,
e_tag,
modification_time,
scope,
source,
status,
status_modification_time,
status_modification_user_name,
type
FROM azure.cost_management.vw_alerts
WHERE scope = '{{ scope }}';