Udostępnij za pośrednictwem


ServiceAlertEssentials Class

Definition

This object contains consistent fields across different monitor services.

public class ServiceAlertEssentials
type ServiceAlertEssentials = class
Public Class ServiceAlertEssentials
Inheritance
ServiceAlertEssentials

Constructors

ServiceAlertEssentials()

Initializes a new instance of ServiceAlertEssentials.

Properties

AlertRule

Rule(monitor) which fired alert instance. Depending on the monitor service, this would be ARM id or name of the rule.

AlertState

Alert object state, which can be modified by the user.

Description

Alert description.

IsSuppressed

Value indicating whether alert is suppressed.

LastModifiedBy

User who last modified the alert, in case of monitor service updates user would be 'system', otherwise name of the user.

LastModifiedOn

Last modification time(ISO-8601 format) of alert instance.

MonitorCondition

Condition of the rule at the monitor service. It represents whether the underlying conditions have crossed the defined alert rule thresholds.

MonitorConditionResolvedOn

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.

MonitorService

Monitor service on which the rule(monitor) is set.

Severity

Severity of alert Sev0 being highest and Sev4 being lowest.

SignalType

The type of signal the alert is based on, which could be metrics, logs or activity logs.

SmartGroupId

Unique Id of the smart group.

SmartGroupingReason

Verbose reason describing the reason why this alert instance is added to a smart group.

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.

StartOn

Creation time(ISO-8601 format) of alert instance.

TargetResource

Target ARM resource, on which alert got created.

TargetResourceGroup

Resource group of target ARM resource, on which alert got created.

TargetResourceName

Name of the target ARM resource name, on which alert got created.

TargetResourceType

Resource type of target ARM resource, on which alert got created.

Applies to