Share via


ComputeFleetApiErrorInfo Class

Definition

API error base.

public class ComputeFleetApiErrorInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetApiErrorInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetApiErrorInfo>
type ComputeFleetApiErrorInfo = class
    interface IJsonModel<ComputeFleetApiErrorInfo>
    interface IPersistableModel<ComputeFleetApiErrorInfo>
Public Class ComputeFleetApiErrorInfo
Implements IJsonModel(Of ComputeFleetApiErrorInfo), IPersistableModel(Of ComputeFleetApiErrorInfo)
Inheritance
ComputeFleetApiErrorInfo
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<ComputeFleetApiErrorInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ComputeFleetApiErrorInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeFleetApiErrorInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputeFleetApiErrorInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComputeFleetApiErrorInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to