LoadTestingModelFactory.TimeSeriesElement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of TimeSeriesElement.
public static Azure.Developer.LoadTesting.TimeSeriesElement TimeSeriesElement(System.Collections.Generic.IEnumerable<Azure.Developer.LoadTesting.MetricValue> data = default, System.Collections.Generic.IEnumerable<Azure.Developer.LoadTesting.DimensionValue> dimensionValues = default);
static member TimeSeriesElement : seq<Azure.Developer.LoadTesting.MetricValue> * seq<Azure.Developer.LoadTesting.DimensionValue> -> Azure.Developer.LoadTesting.TimeSeriesElement
Public Shared Function TimeSeriesElement (Optional data As IEnumerable(Of MetricValue) = Nothing, Optional dimensionValues As IEnumerable(Of DimensionValue) = Nothing) As TimeSeriesElement
Parameters
- data
- IEnumerable<MetricValue>
An array of data points representing the metric values.
- dimensionValues
- IEnumerable<DimensionValue>
The dimension values.
Returns
A new TimeSeriesElement instance for mocking.