共用方式為


RollingUpgradePolicy.MaxUnhealthyInstancePercent Property

Definition

Gets or sets the maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.

[Newtonsoft.Json.JsonProperty(PropertyName="maxUnhealthyInstancePercent")]
public int? MaxUnhealthyInstancePercent { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="maxUnhealthyInstancePercent")>]
member this.MaxUnhealthyInstancePercent : Nullable<int> with get, set
Public Property MaxUnhealthyInstancePercent As Nullable(Of Integer)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to