Condividi tramite


SiteRecoveryHealthError Class

Definition

Health Error.

public class SiteRecoveryHealthError : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError>
type SiteRecoveryHealthError = class
    interface IJsonModel<SiteRecoveryHealthError>
    interface IPersistableModel<SiteRecoveryHealthError>
Public Class SiteRecoveryHealthError
Implements IJsonModel(Of SiteRecoveryHealthError), IPersistableModel(Of SiteRecoveryHealthError)
Inheritance
SiteRecoveryHealthError
Implements

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.

InnerHealthErrors

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.

PossibleCauses

Possible causes of error.

RecommendedAction

Recommended action to resolve error.

RecoveryProviderErrorMessage

DRA error message.

SummaryMessage

Summary message of the entity.

Explicit Interface Implementations

IJsonModel<SiteRecoveryHealthError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SiteRecoveryHealthError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SiteRecoveryHealthError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SiteRecoveryHealthError>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SiteRecoveryHealthError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to