Share via


Alert Constructors

Definition

Overloads

Alert()

Initializes a new instance of the Alert class.

Alert(String, String, String, String, String, Nullable<DateTime>, String, String, AlertErrorDetails, IDictionary<String,String>)

Initializes a new instance of the Alert class.

Alert()

Initializes a new instance of the Alert class.

public Alert ();
Public Sub New ()

Applies to

Alert(String, String, String, String, String, Nullable<DateTime>, String, String, AlertErrorDetails, IDictionary<String,String>)

Initializes a new instance of the Alert class.

public Alert (string id = default, string name = default, string type = default, string title = default, string alertType = default, DateTime? appearedAtDateTime = default, string recommendation = default, string severity = default, Microsoft.Azure.Management.EdgeGateway.Models.AlertErrorDetails errorDetails = default, System.Collections.Generic.IDictionary<string,string> detailedInformation = default);
new Microsoft.Azure.Management.EdgeGateway.Models.Alert : string * string * string * string * string * Nullable<DateTime> * string * string * Microsoft.Azure.Management.EdgeGateway.Models.AlertErrorDetails * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.EdgeGateway.Models.Alert
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional title As String = Nothing, Optional alertType As String = Nothing, Optional appearedAtDateTime As Nullable(Of DateTime) = Nothing, Optional recommendation As String = Nothing, Optional severity As String = Nothing, Optional errorDetails As AlertErrorDetails = Nothing, Optional detailedInformation As IDictionary(Of String, String) = Nothing)

Parameters

id
String

The path ID that uniquely identifies the object.

name
String

The object name.

type
String

The hierarchical type of the object.

title
String

Alert title.

alertType
String

Alert type.

appearedAtDateTime
Nullable<DateTime>

UTC time when the alert appeared.

recommendation
String

Alert recommendation.

severity
String

Severity of the alert. Possible values include: 'Informational', 'Warning', 'Critical'

errorDetails
AlertErrorDetails

Error details of the alert.

detailedInformation
IDictionary<String,String>

Alert details.

Applies to