AverageServiceLoadScalingTrigger Constructors
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.
Overloads
AverageServiceLoadScalingTrigger() |
Initializes a new instance of the AverageServiceLoadScalingTrigger class. |
AverageServiceLoadScalingTrigger(String, Double, Double, String, Boolean) |
Initializes a new instance of the AverageServiceLoadScalingTrigger class. |
AverageServiceLoadScalingTrigger()
Initializes a new instance of the AverageServiceLoadScalingTrigger class.
public AverageServiceLoadScalingTrigger ();
Public Sub New ()
Applies to
AverageServiceLoadScalingTrigger(String, Double, Double, String, Boolean)
Initializes a new instance of the AverageServiceLoadScalingTrigger class.
public AverageServiceLoadScalingTrigger (string metricName, double lowerLoadThreshold, double upperLoadThreshold, string scaleInterval, bool useOnlyPrimaryLoad);
new Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.AverageServiceLoadScalingTrigger : string * double * double * string * bool -> Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.AverageServiceLoadScalingTrigger
Public Sub New (metricName As String, lowerLoadThreshold As Double, upperLoadThreshold As Double, scaleInterval As String, useOnlyPrimaryLoad As Boolean)
Parameters
- metricName
- String
The name of the metric for which usage should be tracked.
- lowerLoadThreshold
- Double
The lower limit of the load below which a scale in operation should be performed.
- upperLoadThreshold
- Double
The upper limit of the load beyond which a scale out operation should be performed.
- scaleInterval
- String
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".
- useOnlyPrimaryLoad
- Boolean
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.
Applies to
Azure SDK for .NET