Share via


BatchPoolEvaluateAutoScaleContent(String) Constructor

Definition

Initializes a new instance of BatchPoolEvaluateAutoScaleContent.

public BatchPoolEvaluateAutoScaleContent (string autoScaleFormula);
new Azure.Compute.Batch.BatchPoolEvaluateAutoScaleContent : string -> Azure.Compute.Batch.BatchPoolEvaluateAutoScaleContent
Public Sub New (autoScaleFormula As String)

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

Exceptions

autoScaleFormula is null.

Applies to