共用方式為


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; }
[<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/).

Applies to