Dela via


AveragePartitionLoadScalingTrigger Class

Definition

Represents a scaling policy related to an average load of a metric/resource of a partition. When this policy is used the service fabric platform will trigger scaling if the average load of a partition does not fit inside the limits specified for a particular metric. Should be used with PartitionInstanceCountScaleMechanism.

public class AveragePartitionLoadScalingTrigger : System.Fabric.Description.ScalingTriggerDescription
type AveragePartitionLoadScalingTrigger = class
    inherit ScalingTriggerDescription
Public Class AveragePartitionLoadScalingTrigger
Inherits ScalingTriggerDescription
Inheritance
AveragePartitionLoadScalingTrigger

Constructors

AveragePartitionLoadScalingTrigger()

Initializes a new instance of the AveragePartitionLoadScalingTrigger class of a particular kind.

Properties

Kind

Gets the kind of the scaling trigger.

(Inherited from ScalingTriggerDescription)
LowerLoadThreshold

Gets or sets the lower limit of the load value of a particular metric. If the average load over a time period is less than this value scale in is performed by the service fabric platform.

MetricName

Gets or sets the name of the metric based on which scaling should be performed.

ScaleInterval

Gets or sets the time interval which should be considered when checking whether scaling should be performed. Every ScaleInterval there will be a check of average load based on which scaling will be triggered if necessary.

UpperLoadThreshold

Gets or sets the upper limit of the load value of a particular metric. If the average load over a time period is greater than this value scale out is performed by the service fabric platform.

Methods

ToString()

Returns a string representation of the AverageLoadScalingPolicyDescription.

Applies to