Share via


BatchPoolEvaluateAutoScaleOptions Class

Definition

Parameters for evaluating an automatic scaling formula on an Azure Batch Pool.

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

Constructors

BatchPoolEvaluateAutoScaleOptions(String)

Initializes a new instance of BatchPoolEvaluateAutoScaleOptions.

Properties

AutoScaleFormula

The formula for the desired number of Compute Nodes in the Pool. The formula is validated and its results calculated, but it is not applied to the Pool. To apply the formula to the Pool, 'Enable automatic scaling on a Pool'. For more information about specifying this formula, see Automatically scale Compute Nodes in an Azure Batch Pool (https://learn.microsoft.com/azure/batch/batch-automatic-scaling).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BatchPoolEvaluateAutoScaleOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchPoolEvaluateAutoScaleOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchPoolEvaluateAutoScaleOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchPoolEvaluateAutoScaleOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchPoolEvaluateAutoScaleOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to