Incident Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The time at which the incident was resolved in ISO8601 format. If null, it means the incident is still active.