Incident Constructors

Definition

Overloads

Incident()

Initializes a new instance of the Incident class.

Incident(String, String, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>)

Initializes a new instance of the Incident class.

Incident()

Initializes a new instance of the Incident class.

public Incident ();
Public Sub New ()

Applies to

Incident(String, String, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>)

Initializes a new instance of the Incident class.

public Incident (string name = default, string ruleName = default, bool? isActive = default, DateTime? activatedTime = default, DateTime? resolvedTime = default);
new Microsoft.Azure.Management.Monitor.Models.Incident : string * string * Nullable<bool> * Nullable<DateTime> * Nullable<DateTime> -> Microsoft.Azure.Management.Monitor.Models.Incident
Public Sub New (Optional name As String = Nothing, Optional ruleName As String = Nothing, Optional isActive As Nullable(Of Boolean) = Nothing, Optional activatedTime As Nullable(Of DateTime) = Nothing, Optional resolvedTime As Nullable(Of DateTime) = Nothing)

Parameters

name
String

Incident name.

ruleName
String

Rule name that is associated with the incident.

isActive
Nullable<Boolean>

A boolean to indicate whether the incident is active or resolved.

activatedTime
Nullable<DateTime>

The time at which the incident was activated in ISO8601 format.

resolvedTime
Nullable<DateTime>

The time at which the incident was resolved in ISO8601 format. If null, it means the incident is still active.

Applies to