Compartir a través de


MetricsAdvisorModelFactory.MetricSeriesData Método

Definición

Inicializa una nueva instancia de MetricSeriesData para fines ficticios.

public static Azure.AI.MetricsAdvisor.Models.MetricSeriesData MetricSeriesData (string metricId = default, Azure.AI.MetricsAdvisor.Models.DimensionKey seriesKey = default, System.Collections.Generic.IEnumerable<DateTimeOffset> timestamps = default, System.Collections.Generic.IEnumerable<double> metricValues = default);
static member MetricSeriesData : string * Azure.AI.MetricsAdvisor.Models.DimensionKey * seq<DateTimeOffset> * seq<double> -> Azure.AI.MetricsAdvisor.Models.MetricSeriesData
Public Shared Function MetricSeriesData (Optional metricId As String = Nothing, Optional seriesKey As DimensionKey = Nothing, Optional timestamps As IEnumerable(Of DateTimeOffset) = Nothing, Optional metricValues As IEnumerable(Of Double) = Nothing) As MetricSeriesData

Parámetros

metricId
String

Establece la propiedad MetricId.

seriesKey
DimensionKey

Establece la propiedad SeriesKey.

timestamps
IEnumerable<DateTimeOffset>

Establece la propiedad Timestamps.

metricValues
IEnumerable<Double>

Establece la propiedad MetricValues.

Devoluciones

Nueva instancia de MetricSeriesData para fines ficticios.

Se aplica a