Condividi tramite


MultiMetricCriteria Constructors

Definition

Overloads

MultiMetricCriteria()

Initializes a new instance of the MultiMetricCriteria class.

MultiMetricCriteria(String, String, String, IDictionary<String,Object>, String, IList<MetricDimension>, Nullable<Boolean>)

Initializes a new instance of the MultiMetricCriteria class.

MultiMetricCriteria()

Initializes a new instance of the MultiMetricCriteria class.

public MultiMetricCriteria ();
Public Sub New ()

Applies to

MultiMetricCriteria(String, String, String, IDictionary<String,Object>, String, IList<MetricDimension>, Nullable<Boolean>)

Initializes a new instance of the MultiMetricCriteria class.

public MultiMetricCriteria (string name, string metricName, string timeAggregation, System.Collections.Generic.IDictionary<string,object> additionalProperties = default, string metricNamespace = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.MetricDimension> dimensions = default, bool? skipMetricValidation = default);
new Microsoft.Azure.Management.Monitor.Models.MultiMetricCriteria : string * string * string * System.Collections.Generic.IDictionary<string, obj> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.MetricDimension> * Nullable<bool> -> Microsoft.Azure.Management.Monitor.Models.MultiMetricCriteria
Public Sub New (name As String, metricName As String, timeAggregation As String, Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional metricNamespace As String = Nothing, Optional dimensions As IList(Of MetricDimension) = Nothing, Optional skipMetricValidation As Nullable(Of Boolean) = Nothing)

Parameters

name
String

Name of the criteria.

metricName
String

Name of the metric.

timeAggregation
String

the criteria time aggregation types. Possible values include: 'Average', 'Count', 'Minimum', 'Maximum', 'Total'

additionalProperties
IDictionary<String,Object>

Unmatched properties from the message are deserialized this collection

metricNamespace
String

Namespace of the metric.

dimensions
IList<MetricDimension>

List of dimension conditions.

skipMetricValidation
Nullable<Boolean>

Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.

Applies to