Share via


SiteRecoveryComputeSizeErrorDetails Class

Definition

Represents the error used to indicate why the target compute size is not applicable.

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

Properties

Name Description
Message

The error message.

Severity

The severity of the error.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<SiteRecoveryComputeSizeErrorDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SiteRecoveryComputeSizeErrorDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SiteRecoveryComputeSizeErrorDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SiteRecoveryComputeSizeErrorDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SiteRecoveryComputeSizeErrorDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to