Share via


StatelessServiceProperties.MinInstanceCount Property

Definition

Gets or sets minInstanceCount is the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0

  • InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service.
[Newtonsoft.Json.JsonProperty(PropertyName="minInstanceCount")]
public int? MinInstanceCount { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="minInstanceCount")>]
member this.MinInstanceCount : Nullable<int> with get, set
Public Property MinInstanceCount As Nullable(Of Integer)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to