PoolAddParameter.AutoScaleFormula Property

Definition

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

[Newtonsoft.Json.JsonProperty(PropertyName="autoScaleFormula")]
public string AutoScaleFormula { get; set; }
member this.AutoScaleFormula : string with get, set
Public Property AutoScaleFormula As String

Property Value

System.String
Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

This property must not be specified if enableAutoScale is set to false. It is required if enableAutoScale is set to true. The formula is checked for validity before the pool is created. If the formula is not valid, the Batch service rejects the request with detailed error information. For more information about specifying this formula, see 'Automatically scale compute nodes in an Azure Batch pool' (https://azure.microsoft.com/documentation/articles/batch-automatic-scaling/).

Applies to