Compartir a través de


MetricCriteria Constructor

Definición

Inicializa una nueva instancia de MetricCriteria.

public MetricCriteria (string name, string metricName, Azure.ResourceManager.Monitor.Models.MetricCriteriaTimeAggregationType timeAggregation, Azure.ResourceManager.Monitor.Models.MetricCriteriaOperator operator, double threshold);
new Azure.ResourceManager.Monitor.Models.MetricCriteria : string * string * Azure.ResourceManager.Monitor.Models.MetricCriteriaTimeAggregationType * Azure.ResourceManager.Monitor.Models.MetricCriteriaOperator * double -> Azure.ResourceManager.Monitor.Models.MetricCriteria
Public Sub New (name As String, metricName As String, timeAggregation As MetricCriteriaTimeAggregationType, operator As MetricCriteriaOperator, threshold As Double)

Parámetros

name
String

Nombre de los criterios.

metricName
String

el nombre de la métrica.

timeAggregation
MetricCriteriaTimeAggregationType

los tipos de agregación de hora de criterios.

operator
MetricCriteriaOperator

operador criteria.

threshold
Double

el valor de umbral de criterios que activa la alerta.

Excepciones

name o metricName es null.

Se aplica a