Alert 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
Alert() |
Initializes a new instance of the Alert class. |
Alert(String, AlertScope, String, DateTime, DateTime, AlertSource, AlertSeverity, AlertStatus, String, String, String, Nullable<Kind>, Nullable<DateTime>, 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, AlertScope, String, DateTime, DateTime, AlertSource, AlertSeverity, AlertStatus, String, String, String, Nullable<Kind>, Nullable<DateTime>, Nullable<DateTime>, String, String, AlertErrorDetails, IDictionary<String,String>)
Initializes a new instance of the Alert class.
public Alert (string title, Microsoft.Azure.Management.StorSimple8000Series.Models.AlertScope scope, string alertType, DateTime appearedAtTime, DateTime appearedAtSourceTime, Microsoft.Azure.Management.StorSimple8000Series.Models.AlertSource source, Microsoft.Azure.Management.StorSimple8000Series.Models.AlertSeverity severity, Microsoft.Azure.Management.StorSimple8000Series.Models.AlertStatus status, string id = default, string name = default, string type = default, Microsoft.Azure.Management.StorSimple8000Series.Models.Kind? kind = default, DateTime? clearedAtTime = default, DateTime? clearedAtSourceTime = default, string recommendation = default, string resolutionReason = default, Microsoft.Azure.Management.StorSimple8000Series.Models.AlertErrorDetails errorDetails = default, System.Collections.Generic.IDictionary<string,string> detailedInformation = default);
new Microsoft.Azure.Management.StorSimple8000Series.Models.Alert : string * Microsoft.Azure.Management.StorSimple8000Series.Models.AlertScope * string * DateTime * DateTime * Microsoft.Azure.Management.StorSimple8000Series.Models.AlertSource * Microsoft.Azure.Management.StorSimple8000Series.Models.AlertSeverity * Microsoft.Azure.Management.StorSimple8000Series.Models.AlertStatus * string * string * string * Nullable<Microsoft.Azure.Management.StorSimple8000Series.Models.Kind> * Nullable<DateTime> * Nullable<DateTime> * string * string * Microsoft.Azure.Management.StorSimple8000Series.Models.AlertErrorDetails * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.StorSimple8000Series.Models.Alert
Public Sub New (title As String, scope As AlertScope, alertType As String, appearedAtTime As DateTime, appearedAtSourceTime As DateTime, source As AlertSource, severity As AlertSeverity, status As AlertStatus, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As Nullable(Of Kind) = Nothing, Optional clearedAtTime As Nullable(Of DateTime) = Nothing, Optional clearedAtSourceTime As Nullable(Of DateTime) = Nothing, Optional recommendation As String = Nothing, Optional resolutionReason As String = Nothing, Optional errorDetails As AlertErrorDetails = Nothing, Optional detailedInformation As IDictionary(Of String, String) = Nothing)
Parameters
- title
- String
The title of the alert
- scope
- AlertScope
The scope of the alert. Possible values include: 'Resource', 'Device'
- alertType
- String
The type of the alert
- appearedAtTime
- DateTime
The UTC time at which the alert was raised
- appearedAtSourceTime
- DateTime
The source time at which the alert was raised
- source
- AlertSource
The source at which the alert was raised
- severity
- AlertSeverity
The severity of the alert. Possible values include: 'Informational', 'Warning', 'Critical'
- status
- AlertStatus
The current status of the alert. Possible values include: 'Active', 'Cleared'
- id
- String
The path ID that uniquely identifies the object.
- name
- String
The name of the object.
- type
- String
The hierarchical type of the object.
The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
- recommendation
- String
The recommended action for the issue raised in the alert
- resolutionReason
- String
The reason for resolving the alert
- errorDetails
- AlertErrorDetails
The details of the error for which the alert was raised
- detailedInformation
- IDictionary<String,String>
More details about the alert
Applies to
Azure SDK for .NET