Share via


ComputeBatchModelFactory.BatchPoolEvaluateAutoScaleOptions(String) Method

Definition

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

public static Azure.Compute.Batch.BatchPoolEvaluateAutoScaleOptions BatchPoolEvaluateAutoScaleOptions(string autoScaleFormula = default);
static member BatchPoolEvaluateAutoScaleOptions : string -> Azure.Compute.Batch.BatchPoolEvaluateAutoScaleOptions
Public Shared Function BatchPoolEvaluateAutoScaleOptions (Optional autoScaleFormula As String = Nothing) As BatchPoolEvaluateAutoScaleOptions

Parameters

autoScaleFormula
String

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).

Returns

A new BatchPoolEvaluateAutoScaleOptions instance for mocking.

Applies to