PoolAddParameter.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.
[Newtonsoft.Json.JsonProperty(PropertyName="autoScaleFormula")]
public string AutoScaleFormula { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="autoScaleFormula")>]
member this.AutoScaleFormula : string with get, set
Public Property AutoScaleFormula As String
Property Value
- 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/).