Partition Load Scaling Trigger Class
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Initializes a new instance of the AveragePartitionLoadScalingTrigger class of a particular kind.
Gets the kind of the scaling trigger.(Inherited from ScalingTriggerDescription)
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.
Gets or sets the name of the metric based on which scaling should be performed.
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.
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.
Returns a string representation of the AverageLoadScalingPolicyDescription.