Megosztás a következőn keresztül:


DynamicMetricCriteria Constructor

Definition

Initializes a new instance of DynamicMetricCriteria.

public DynamicMetricCriteria (string name, string metricName, Azure.ResourceManager.Monitor.Models.MetricCriteriaTimeAggregationType timeAggregation, Azure.ResourceManager.Monitor.Models.DynamicThresholdOperator operator, Azure.ResourceManager.Monitor.Models.DynamicThresholdSensitivity alertSensitivity, Azure.ResourceManager.Monitor.Models.DynamicThresholdFailingPeriods failingPeriods);
new Azure.ResourceManager.Monitor.Models.DynamicMetricCriteria : string * string * Azure.ResourceManager.Monitor.Models.MetricCriteriaTimeAggregationType * Azure.ResourceManager.Monitor.Models.DynamicThresholdOperator * Azure.ResourceManager.Monitor.Models.DynamicThresholdSensitivity * Azure.ResourceManager.Monitor.Models.DynamicThresholdFailingPeriods -> Azure.ResourceManager.Monitor.Models.DynamicMetricCriteria
Public Sub New (name As String, metricName As String, timeAggregation As MetricCriteriaTimeAggregationType, operator As DynamicThresholdOperator, alertSensitivity As DynamicThresholdSensitivity, failingPeriods As DynamicThresholdFailingPeriods)

Parameters

name
String

Name of the criteria.

metricName
String

Name of the metric.

timeAggregation
MetricCriteriaTimeAggregationType

the criteria time aggregation types.

operator
DynamicThresholdOperator

The operator used to compare the metric value against the threshold.

alertSensitivity
DynamicThresholdSensitivity

The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.

failingPeriods
DynamicThresholdFailingPeriods

The minimum number of violations required within the selected lookback time window required to raise an alert.

Exceptions

name, metricName or failingPeriods is null.

Applies to