Share via


MonitorQueryModelFactory.MetricTimeSeriesElement Method

Definition

Creates an instance of MetricTimeSeriesElement to support mocking.

public static Azure.Monitor.Query.Models.MetricTimeSeriesElement MetricTimeSeriesElement (System.Collections.Generic.IReadOnlyDictionary<string,string> metadataValues, System.Collections.Generic.IEnumerable<Azure.Monitor.Query.Models.MetricValue> values);
static member MetricTimeSeriesElement : System.Collections.Generic.IReadOnlyDictionary<string, string> * seq<Azure.Monitor.Query.Models.MetricValue> -> Azure.Monitor.Query.Models.MetricTimeSeriesElement
Public Shared Function MetricTimeSeriesElement (metadataValues As IReadOnlyDictionary(Of String, String), values As IEnumerable(Of MetricValue)) As MetricTimeSeriesElement

Parameters

metadataValues
IReadOnlyDictionary<String,String>

A dictionary comprised of metric metadata values.

values
IEnumerable<MetricValue>

A list of MetricValue elements.

Returns

Applies to