AverageServiceLoadScalingTrigger Class
Definition
Important
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 service.
[Newtonsoft.Json.JsonObject("AverageServiceLoadTrigger")]
public class AverageServiceLoadScalingTrigger : Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ScalingTrigger
[<Newtonsoft.Json.JsonObject("AverageServiceLoadTrigger")>]
type AverageServiceLoadScalingTrigger = class
inherit ScalingTrigger
Public Class AverageServiceLoadScalingTrigger
Inherits ScalingTrigger
- Inheritance
- Attributes
-
Newtonsoft.Json.JsonObjectAttribute
Constructors
AverageServiceLoadScalingTrigger() |
Initializes a new instance of the AverageServiceLoadScalingTrigger class. |
AverageServiceLoadScalingTrigger(String, Double, Double, String, Boolean) |
Initializes a new instance of the AverageServiceLoadScalingTrigger class. |
Properties
LowerLoadThreshold |
Gets or sets the lower limit of the load below which a scale in operation should be performed. |
MetricName |
Gets or sets the name of the metric for which usage should be tracked. |
ScaleInterval |
Gets or sets the period in seconds on which a decision is made whether to scale or not. This property should come in ISO 8601 format "hh:mm:ss". |
UpperLoadThreshold |
Gets or sets the upper limit of the load beyond which a scale out operation should be performed. |
UseOnlyPrimaryLoad |
Gets or sets flag determines whether only the load of primary replica should be considered for scaling. 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. |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET