HealthError Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Health Error.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.HealthErrorTypeConverter))]
public class HealthError : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IHealthError
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.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.Api202401.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. |