Share via


MultiMetricCriteria(String, String, MetricCriteriaTimeAggregationType) Constructor

Definition

Initializes a new instance of MultiMetricCriteria.

public MultiMetricCriteria (string name, string metricName, Azure.ResourceManager.Monitor.Models.MetricCriteriaTimeAggregationType timeAggregation);
new Azure.ResourceManager.Monitor.Models.MultiMetricCriteria : string * string * Azure.ResourceManager.Monitor.Models.MetricCriteriaTimeAggregationType -> Azure.ResourceManager.Monitor.Models.MultiMetricCriteria
Public Sub New (name As String, metricName As String, timeAggregation As MetricCriteriaTimeAggregationType)

Parameters

name
String

Name of the criteria.

metricName
String

Name of the metric.

timeAggregation
MetricCriteriaTimeAggregationType

the criteria time aggregation types.

Exceptions

name or metricName is null.

Applies to