Compartir a través de


MetricDefinition Constructores

Definición

Sobrecargas

MetricDefinition()

Inicializa una nueva instancia de la clase MetricDefinition.

MetricDefinition(MetricName, Nullable<MetricUnit>, Nullable<MetricAggregationType>, String, IList<MetricAvailablity>, IList<MetricDimension>, String, String)

Inicializa una nueva instancia de la clase MetricDefinition.

MetricDefinition()

Inicializa una nueva instancia de la clase MetricDefinition.

public MetricDefinition ();
Public Sub New ()

Se aplica a

MetricDefinition(MetricName, Nullable<MetricUnit>, Nullable<MetricAggregationType>, String, IList<MetricAvailablity>, IList<MetricDimension>, String, String)

Inicializa una nueva instancia de la clase MetricDefinition.

public MetricDefinition (Microsoft.Azure.Management.StorSimple8000Series.Models.MetricName name = default, Microsoft.Azure.Management.StorSimple8000Series.Models.MetricUnit? unit = default, Microsoft.Azure.Management.StorSimple8000Series.Models.MetricAggregationType? primaryAggregationType = default, string resourceId = default, System.Collections.Generic.IList<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricAvailablity> metricAvailabilities = default, System.Collections.Generic.IList<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricDimension> dimensions = default, string category = default, string type = default);
new Microsoft.Azure.Management.StorSimple8000Series.Models.MetricDefinition : Microsoft.Azure.Management.StorSimple8000Series.Models.MetricName * Nullable<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricUnit> * Nullable<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricAggregationType> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricAvailablity> * System.Collections.Generic.IList<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricDimension> * string * string -> Microsoft.Azure.Management.StorSimple8000Series.Models.MetricDefinition
Public Sub New (Optional name As MetricName = Nothing, Optional unit As Nullable(Of MetricUnit) = Nothing, Optional primaryAggregationType As Nullable(Of MetricAggregationType) = Nothing, Optional resourceId As String = Nothing, Optional metricAvailabilities As IList(Of MetricAvailablity) = Nothing, Optional dimensions As IList(Of MetricDimension) = Nothing, Optional category As String = Nothing, Optional type As String = Nothing)

Parámetros

name
MetricName

Nombre de la métrica.

unit
Nullable<MetricUnit>

Unidad de métrica. Entre los valores posibles se incluyen: "Bytes", "BytesPerSecond", "Count", "CountPerSecond", "Percent", "Seconds"

primaryAggregationType
Nullable<MetricAggregationType>

Tipo de agregación de métricas. Entre los valores posibles se incluyen: "Average", "Last", "Maximum", "Minimum", "None", "Total"

resourceId
String

Identificador de origen de la métrica.

metricAvailabilities
IList<MetricAvailablity>

Granularidades de métricas disponibles.

dimensions
IList<MetricDimension>

Dimensiones de métricas disponibles.

category
String

Categoría de la métrica.

type
String

Tipo de definición de métrica.

Se aplica a