Dela via


SiteRecoveryInnerHealthError Class

Definition

Implements InnerHealthError class. HealthError object has a list of InnerHealthErrors as child errors. 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.

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

Properties

CreatedOn

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.

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<SiteRecoveryInnerHealthError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SiteRecoveryInnerHealthError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SiteRecoveryInnerHealthError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SiteRecoveryInnerHealthError>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SiteRecoveryInnerHealthError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to