次の方法で共有


EventProperties Constructors

Definition

Overloads

EventProperties()

Initializes a new instance of the EventProperties class.

EventProperties(String, String, String, String, String, String, Nullable<DateTime>, String, EventProviderSpecificDetails, EventSpecificDetails, IList<HealthError>)

Initializes a new instance of the EventProperties class.

EventProperties()

Initializes a new instance of the EventProperties class.

public EventProperties ();
Public Sub New ()

Applies to

EventProperties(String, String, String, String, String, String, Nullable<DateTime>, String, EventProviderSpecificDetails, EventSpecificDetails, IList<HealthError>)

Initializes a new instance of the EventProperties class.

public EventProperties (string eventCode = default, string description = default, string eventType = default, string affectedObjectFriendlyName = default, string affectedObjectCorrelationId = default, string severity = default, DateTime? timeOfOccurrence = default, string fabricId = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.EventProviderSpecificDetails providerSpecificDetails = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.EventSpecificDetails eventSpecificDetails = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.HealthError> healthErrors = default);
new Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.EventProperties : string * string * string * string * string * string * Nullable<DateTime> * string * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.EventProviderSpecificDetails * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.EventSpecificDetails * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.HealthError> -> Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.EventProperties
Public Sub New (Optional eventCode As String = Nothing, Optional description As String = Nothing, Optional eventType As String = Nothing, Optional affectedObjectFriendlyName As String = Nothing, Optional affectedObjectCorrelationId As String = Nothing, Optional severity As String = Nothing, Optional timeOfOccurrence As Nullable(Of DateTime) = Nothing, Optional fabricId As String = Nothing, Optional providerSpecificDetails As EventProviderSpecificDetails = Nothing, Optional eventSpecificDetails As EventSpecificDetails = Nothing, Optional healthErrors As IList(Of HealthError) = Nothing)

Parameters

eventCode
String

The Id of the monitoring event.

description
String

The event name.

eventType
String

The type of the event. for example: VM Health, Server Health, Job Failure etc.

affectedObjectFriendlyName
String

The friendly name of the source of the event on which it is raised (for example, VM, VMM etc).

affectedObjectCorrelationId
String

The affected object correlationId for the event.

severity
String

The severity of the event.

timeOfOccurrence
Nullable<DateTime>

The time of occurrence of the event.

fabricId
String

The ARM ID of the fabric.

providerSpecificDetails
EventProviderSpecificDetails

The provider specific settings.

eventSpecificDetails
EventSpecificDetails

The event specific settings.

healthErrors
IList<HealthError>

The list of errors / warnings capturing details associated with the issue(s).

Applies to