Partilhar via


HealthErrorModel Class

Definition

Health error model.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.HealthErrorModelTypeConverter))]
public class HealthErrorModel : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.IHealthErrorModel
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.HealthErrorModelTypeConverter))>]
type HealthErrorModel = class
    interface IHealthErrorModel
    interface IJsonSerializable
Public Class HealthErrorModel
Implements IHealthErrorModel
Inheritance
HealthErrorModel
Attributes
Implements

Constructors

HealthErrorModel()

Creates an new HealthErrorModel instance.

Properties

AffectedResourceCorrelationId

Gets or sets the list of affected resource correlation Ids. This can be used to uniquely identify the count of items affected by a specific category and severity as well as count of item affected by an specific issue.

AffectedResourceType

Gets or sets the type of affected resource type.

Category

Gets or sets the error category.

Caus

Gets or sets possible causes of the error.

ChildError

Gets or sets a list of child health errors associated with this error.

Code

Gets or sets the error code.

CreationTime

Gets or sets the error creation time.

HealthCategory

Gets or sets the health category.

IsCustomerResolvable

Gets or sets a value indicating whether the error is customer resolvable.

Message

Gets or sets the error message.

Recommendation

Gets or sets recommended action to resolve the error.

Severity

Gets or sets the error severity.

Source

Gets or sets the error source.

Summary

Gets or sets the error summary.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HealthErrorModel.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HealthErrorModel.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.IHealthErrorModel.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of HealthErrorModel into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to