Dela via


BatchPoolEvaluateAutoScaleContent Class

Definition

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

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

Constructors

BatchPoolEvaluateAutoScaleContent(String)

Initializes a new instance of BatchPoolEvaluateAutoScaleContent.

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://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).

Explicit Interface Implementations

IJsonModel<BatchPoolEvaluateAutoScaleContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchPoolEvaluateAutoScaleContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchPoolEvaluateAutoScaleContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchPoolEvaluateAutoScaleContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchPoolEvaluateAutoScaleContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to