Share via


AveragePartitionLoadScalingTrigger(String, Double, Double, String) Constructor

Definition

Initializes a new instance of AveragePartitionLoadScalingTrigger.

public AveragePartitionLoadScalingTrigger (string metricName, double lowerLoadThreshold, double upperLoadThreshold, string scaleInterval);
new Azure.ResourceManager.ServiceFabricManagedClusters.Models.AveragePartitionLoadScalingTrigger : string * double * double * string -> Azure.ResourceManager.ServiceFabricManagedClusters.Models.AveragePartitionLoadScalingTrigger
Public Sub New (metricName As String, lowerLoadThreshold As Double, upperLoadThreshold As Double, scaleInterval As String)

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".

Exceptions

metricName or scaleInterval is null.

Applies to