Dela via


IaasVmErrorInfo Class

Definition

Azure IaaS VM workload-specific error information.

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

Constructors

IaasVmErrorInfo()

Initializes a new instance of IaasVmErrorInfo.

Properties

ErrorCode

Error code.

ErrorString

Localized error string.

ErrorTitle

Title: Typically, the entity that the error pertains to.

Recommendations

List of localized recommendations for above error code.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<IaasVmErrorInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<IaasVmErrorInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IaasVmErrorInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IaasVmErrorInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<IaasVmErrorInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to