Share via


DataReplicationErrorInfo Class

Definition

Error model.

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

Properties

Causes

Gets or sets the possible causes of error.

Code

Gets or sets the error code.

CreatedOn

Gets or sets the creation time of error.

ErrorModelType

Gets or sets the error type.

Message

Gets or sets the error message.

Recommendation

Gets or sets the recommended action to resolve error.

Severity

Gets or sets the error severity.

Type

Gets or sets the error type.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataReplicationErrorInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataReplicationErrorInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataReplicationErrorInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataReplicationErrorInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataReplicationErrorInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to