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

PoolSpecification.EnableAutoScale 属性

定义

获取或设置池大小是否应随时间自动调整。

[Newtonsoft.Json.JsonProperty(PropertyName="enableAutoScale")]
public bool? EnableAutoScale { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="enableAutoScale")>]
member this.EnableAutoScale : Nullable<bool> with get, set
Public Property EnableAutoScale As Nullable(Of Boolean)

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

注解

如果为 false,则必须至少指定一个 targetDedicatedNodes 和 targetLowPriorityNodes。 如果为 true,则需要 autoScaleFormula 元素。 池根据公式自动调整大小。 默认值为 false。

适用于