Condividi tramite


AverageServiceLoadScalingTrigger.UseOnlyPrimaryLoad Property

Definition

Gets or sets whether only the load of primary replica should be considered for scaling.

public bool UseOnlyPrimaryLoad { get; set; }
member this.UseOnlyPrimaryLoad : bool with get, set
Public Property UseOnlyPrimaryLoad As Boolean

Property Value

If set to true, then trigger will only consider the load of primary replicas of stateful service. If set to false, trigger will consider load of all replicas. This parameter cannot be set to true for stateless service.

Applies to