Share via


HealthErrorDetails Class

Definition

Error contract returned when some exception occurs in Rest API.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.HealthErrorDetailsTypeConverter))]
public class HealthErrorDetails : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IHealthErrorDetails
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.HealthErrorDetailsTypeConverter))>]
type HealthErrorDetails = class
    interface IHealthErrorDetails
    interface IJsonSerializable
Public Class HealthErrorDetails
Implements IHealthErrorDetails
Inheritance
HealthErrorDetails
Attributes
Implements

Constructors

HealthErrorDetails()

Creates an new HealthErrorDetails instance.

Properties

Code

Error name.

Id

Error ID.

Message

Error message.

MessageParameter

Message parameters.

PossibleCaus

Possible causes of error.

RecommendedAction

Recommended action to resolve error.

Severity

Error severity.

Source

Error source.

SummaryMessage

Error summary message.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HealthErrorDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HealthErrorDetails.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IHealthErrorDetails.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of HealthErrorDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to