Share via


CloudPool.AutoScaleFormula Property

Definition

Gets or sets a formula for the desired number of compute nodes in the pool.

public string AutoScaleFormula { get; set; }
member this.AutoScaleFormula : string with get, set
Public Property AutoScaleFormula As String

Property Value

Remarks

For how to write autoscale formulas, see https://azure.microsoft.com/documentation/articles/batch-automatic-scaling/. This property is required if AutoScaleEnabled is set to true. It must be null if AutoScaleEnabled is false.

The formula is checked for validity before the pool is created. If the formula is not valid, an exception is thrown when you try to commit the CloudPool.

Applies to