Dela via


ApplicationUpdateDescription.MinimumNodes Property

Definition

Gets or sets the minimum number of nodes.

public long? MinimumNodes { get; set; }
member this.MinimumNodes : Nullable<int64> with get, set
Public Property MinimumNodes As Nullable(Of Long)

Property Value

Number of nodes where Service Fabric will reserve Capacity in the cluster for this Application to be placed. Note that this does not mean that the Application is guaranteed to have replicas on all those nodes.

If this parameter is set to zero, no capacity will be reserved. If this parameter is not set when updating application then the minimum number of nodes remains unchanged.

If this parameters is greater than MaximumNodes and if both parameters are specified then an ArgumentException will be thrown when UpdateApplicationAsync(ApplicationUpdateDescription) is called.

Applies to