你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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