Partager via


HealthError Constructors

Definition

Overloads

HealthError()

Initializes a new instance of the HealthError class.

HealthError(IList<InnerHealthError>, String, String, String, String, String, String, String, String, String, Nullable<DateTime>, String, String, String, String)

Initializes a new instance of the HealthError class.

HealthError()

Initializes a new instance of the HealthError class.

public HealthError ();
Public Sub New ()

Applies to

HealthError(IList<InnerHealthError>, String, String, String, String, String, String, String, String, String, Nullable<DateTime>, String, String, String, String)

Initializes a new instance of the HealthError class.

public HealthError (System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.InnerHealthError> innerHealthErrors = default, string errorSource = default, string errorType = default, string errorLevel = default, string errorCategory = default, string errorCode = default, string summaryMessage = default, string errorMessage = default, string possibleCauses = default, string recommendedAction = default, DateTime? creationTimeUtc = default, string recoveryProviderErrorMessage = default, string entityId = default, string errorId = default, string customerResolvability = default);
new Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.HealthError : System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.InnerHealthError> * string * string * string * string * string * string * string * string * string * Nullable<DateTime> * string * string * string * string -> Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.HealthError
Public Sub New (Optional innerHealthErrors As IList(Of InnerHealthError) = Nothing, Optional errorSource As String = Nothing, Optional errorType As String = Nothing, Optional errorLevel As String = Nothing, Optional errorCategory As String = Nothing, Optional errorCode As String = Nothing, Optional summaryMessage As String = Nothing, Optional errorMessage As String = Nothing, Optional possibleCauses As String = Nothing, Optional recommendedAction As String = Nothing, Optional creationTimeUtc As Nullable(Of DateTime) = Nothing, Optional recoveryProviderErrorMessage As String = Nothing, Optional entityId As String = Nothing, Optional errorId As String = Nothing, Optional customerResolvability As String = Nothing)

Parameters

innerHealthErrors
IList<InnerHealthError>

The inner health errors. HealthError having a list of HealthError as child errors is problematic. InnerHealthError is used because this will prevent an infinite loop of structures when Hydra tries to auto-generate the contract. We are exposing the related health errors as inner health errors and all API consumers can utilize this in the same fashion as Exception -&gt; InnerException.

errorSource
String

Source of error.

errorType
String

Type of error.

errorLevel
String

Level of error.

errorCategory
String

Category of error.

errorCode
String

Error code.

summaryMessage
String

Summary message of the entity.

errorMessage
String

Error message.

possibleCauses
String

Possible causes of error.

recommendedAction
String

Recommended action to resolve error.

creationTimeUtc
Nullable<DateTime>

Error creation time (UTC).

recoveryProviderErrorMessage
String

DRA error message.

entityId
String

ID of the entity.

errorId
String

The health error unique id.

customerResolvability
String

Value indicating whether the health error is customer resolvable. Possible values include: 'Allowed', 'NotAllowed'

Applies to