ComputeApiErrorBase Class

Definition

Api error base.

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

Properties

Code

The error code.

Message

The error message.

Target

The target of the particular error.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ComputeApiErrorBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ComputeApiErrorBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeApiErrorBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputeApiErrorBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComputeApiErrorBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to