ComputeApiError Class

Definition

Api error.

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

Properties

Code

The error code.

Details

The Api error details.

Innererror

The Api inner error.

Message

The error message.

Target

The target of the particular error.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ComputeApiError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ComputeApiError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeApiError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputeApiError>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComputeApiError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to