Delen via


PoolSpecification.AutoScaleFormula Property

Definition

Gets or sets the 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.

Applies to