CloudPool.AutoScaleFormula Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.