Share via


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 value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.

[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