Essentials Constructors

Definition

Overloads

Essentials()

Initializes a new instance of the Essentials class.

Essentials(String, String, String, String, String, String, String, String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String)

Initializes a new instance of the Essentials class.

Essentials()

Initializes a new instance of the Essentials class.

public Essentials ();
Public Sub New ()

Applies to

Essentials(String, String, String, String, String, String, String, String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String)

Initializes a new instance of the Essentials class.

public Essentials (string severity = default, string signalType = default, string alertState = default, string monitorCondition = default, string targetResource = default, string targetResourceName = default, string targetResourceGroup = default, string targetResourceType = default, string monitorService = default, string alertRule = default, string sourceCreatedId = default, string smartGroupId = default, string smartGroupingReason = default, DateTime? startDateTime = default, DateTime? lastModifiedDateTime = default, DateTime? monitorConditionResolvedDateTime = default, string lastModifiedUserName = default);
new Microsoft.Azure.Management.AlertsManagement.Models.Essentials : string * string * string * string * string * string * string * string * string * string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * string -> Microsoft.Azure.Management.AlertsManagement.Models.Essentials
Public Sub New (Optional severity As String = Nothing, Optional signalType As String = Nothing, Optional alertState As String = Nothing, Optional monitorCondition As String = Nothing, Optional targetResource As String = Nothing, Optional targetResourceName As String = Nothing, Optional targetResourceGroup As String = Nothing, Optional targetResourceType As String = Nothing, Optional monitorService As String = Nothing, Optional alertRule As String = Nothing, Optional sourceCreatedId As String = Nothing, Optional smartGroupId As String = Nothing, Optional smartGroupingReason As String = Nothing, Optional startDateTime As Nullable(Of DateTime) = Nothing, Optional lastModifiedDateTime As Nullable(Of DateTime) = Nothing, Optional monitorConditionResolvedDateTime As Nullable(Of DateTime) = Nothing, Optional lastModifiedUserName As String = Nothing)

Parameters

severity
String

Severity of alert Sev0 being highest and Sev4 being lowest. Possible values include: 'Sev0', 'Sev1', 'Sev2', 'Sev3', 'Sev4'

signalType
String

The type of signal the alert is based on, which could be metrics, logs or activity logs. Possible values include: 'Metric', 'Log', 'Unknown'

alertState
String

Alert object state, which can be modified by the user. Possible values include: 'New', 'Acknowledged', 'Closed'

monitorCondition
String

Condition of the rule at the monitor service. It represents whether the underlying conditions have crossed the defined alert rule thresholds. Possible values include: 'Fired', 'Resolved'

targetResource
String

Target ARM resource, on which alert got created.

targetResourceName
String

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

targetResourceGroup
String

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

targetResourceType
String

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

monitorService
String

Monitor service on which the rule(monitor) is set. Possible values include: 'Application Insights', 'ActivityLog Administrative', 'ActivityLog Security', 'ActivityLog Recommendation', 'ActivityLog Policy', 'ActivityLog Autoscale', 'Log Analytics', 'Nagios', 'Platform', 'SCOM', 'ServiceHealth', 'SmartDetector', 'VM Insights', 'Zabbix'

alertRule
String

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

sourceCreatedId
String

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.

smartGroupId
String

Unique Id of the smart group

smartGroupingReason
String

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

startDateTime
Nullable<DateTime>

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

lastModifiedDateTime
Nullable<DateTime>

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

monitorConditionResolvedDateTime
Nullable<DateTime>

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.

lastModifiedUserName
String

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

Applies to