Share via


InnerHealthError Class

Definition

Implements InnerHealthError class. HealthError object has a list of InnerHealthErrors as child errors. 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 -> InnerException.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.InnerHealthErrorTypeConverter))]
public class InnerHealthError : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IInnerHealthError
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.InnerHealthErrorTypeConverter))>]
type InnerHealthError = class
    interface IInnerHealthError
    interface IJsonSerializable
Public Class InnerHealthError
Implements IInnerHealthError
Inheritance
InnerHealthError
Attributes
Implements

Constructors

InnerHealthError()

Creates an new InnerHealthError instance.

Properties

CreationTimeUtc

Error creation time (UTC).

CustomerResolvability

Value indicating whether the health error is customer resolvable.

EntityId

ID of the entity.

ErrorCategory

Category of error.

ErrorCode

Error code.

ErrorId

The health error unique id.

ErrorLevel

Level of error.

ErrorMessage

Error message.

ErrorSource

Source of error.

ErrorType

Type of error.

PossibleCaus

Possible causes of error.

RecommendedAction

Recommended action to resolve error.

RecoveryProviderErrorMessage

DRA error message.

SummaryMessage

Summary message of the entity.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of InnerHealthError.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of InnerHealthError.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IInnerHealthError.

FromJsonString(String)

Creates a new instance of InnerHealthError, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of InnerHealthError into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to