DynamicMetricCriteria Constructor
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.
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. Previously undocumented values might be returned.
- operator
- DynamicThresholdOperator
The operator used to compare the metric value against the threshold. Previously undocumented values might be returned.
- alertSensitivity
- DynamicThresholdSensitivity
The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern. Previously undocumented values might be returned.
- 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.