Essentials interface
This object contains consistent fields across different monitor services.
Properties
| action |
Action status |
| alert |
Rule(monitor) which fired alert instance. Depending on the monitor service, this would be ARM id or name of the rule. |
| alert |
Alert object state, which can be modified by the user. |
| description | Alert description. |
| last |
Last modification time(ISO-8601 format) of alert instance. |
| last |
User who last modified the alert, in case of monitor service updates user would be 'system', otherwise name of the user. |
| monitor |
Can be 'Fired' or 'Resolved', which represents whether the underlying conditions have crossed the defined alert rule thresholds. |
| monitor |
Resolved time(ISO-8601 format) of alert instance. This will be updated when monitor service resolves the alert instance because the rule condition is no longer met. |
| monitor |
Monitor service on which the rule(monitor) is set. |
| severity | Severity of alert Sev0 being highest and Sev4 being lowest. |
| signal |
The type of signal the alert is based on, which could be metrics, logs or activity logs. |
| smart |
Unique Id of the smart group |
| smart |
Verbose reason describing the reason why this alert instance is added to a smart group |
| source |
Unique Id created by monitor service for each alert instance. This could be used to track the issue at the monitor service, in case of Nagios, Zabbix, SCOM etc. |
| start |
Creation time(ISO-8601 format) of alert instance. |
| target |
Target ARM resource, on which alert got created. |
| target |
Resource group of target ARM resource, on which alert got created. |
| target |
Name of the target ARM resource name, on which alert got created. |
| target |
Resource type of target ARM resource, on which alert got created. |
Property Details
actionStatus
alertRule
Rule(monitor) which fired alert instance. Depending on the monitor service, this would be ARM id or name of the rule.
alertRule?: string
Property Value
string
alertState
Alert object state, which can be modified by the user.
alertState?: string
Property Value
string
description
Alert description.
description?: string
Property Value
string
lastModifiedDateTime
Last modification time(ISO-8601 format) of alert instance.
lastModifiedDateTime?: Date
Property Value
Date
lastModifiedUserName
User who last modified the alert, in case of monitor service updates user would be 'system', otherwise name of the user.
lastModifiedUserName?: string
Property Value
string
monitorCondition
Can be 'Fired' or 'Resolved', which represents whether the underlying conditions have crossed the defined alert rule thresholds.
monitorCondition?: string
Property Value
string
monitorConditionResolvedDateTime
Resolved time(ISO-8601 format) of alert instance. This will be updated when monitor service resolves the alert instance because the rule condition is no longer met.
monitorConditionResolvedDateTime?: Date
Property Value
Date
monitorService
Monitor service on which the rule(monitor) is set.
monitorService?: string
Property Value
string
severity
Severity of alert Sev0 being highest and Sev4 being lowest.
severity?: string
Property Value
string
signalType
The type of signal the alert is based on, which could be metrics, logs or activity logs.
signalType?: string
Property Value
string
smartGroupId
Unique Id of the smart group
smartGroupId?: string
Property Value
string
smartGroupingReason
Verbose reason describing the reason why this alert instance is added to a smart group
smartGroupingReason?: string
Property Value
string
sourceCreatedId
Unique Id created by monitor service for each alert instance. This could be used to track the issue at the monitor service, in case of Nagios, Zabbix, SCOM etc.
sourceCreatedId?: string
Property Value
string
startDateTime
Creation time(ISO-8601 format) of alert instance.
startDateTime?: Date
Property Value
Date
targetResource
Target ARM resource, on which alert got created.
targetResource?: string
Property Value
string
targetResourceGroup
Resource group of target ARM resource, on which alert got created.
targetResourceGroup?: string
Property Value
string
targetResourceName
Name of the target ARM resource name, on which alert got created.
targetResourceName?: string
Property Value
string
targetResourceType
Resource type of target ARM resource, on which alert got created.
targetResourceType?: string
Property Value
string