Partager via


AutoScaleRunError Class

Definition

An error that occurred when executing or evaluating a Pool autoscale formula.

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

Properties

Code

An identifier for the autoscale error. Codes are invariant and are intended to be consumed programmatically.

Message

A message describing the autoscale error, intended to be suitable for display in a user interface.

Values

A list of additional error details related to the autoscale error.

Explicit Interface Implementations

IJsonModel<AutoScaleRunError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutoScaleRunError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutoScaleRunError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutoScaleRunError>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutoScaleRunError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to