你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HealthError Class

Definition

Health Error.

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

Constructors

HealthError()

Creates an new HealthError 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.

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 -> InnerException.

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 HealthError.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HealthError.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of HealthError into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to