LoadTestingModelFactory.MetricValue 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 MetricValue.
public static Azure.Developer.LoadTesting.MetricValue MetricValue(DateTimeOffset? timestamp = default, double? value = default);
static member MetricValue : Nullable<DateTimeOffset> * Nullable<double> -> Azure.Developer.LoadTesting.MetricValue
Public Shared Function MetricValue (Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional value As Nullable(Of Double) = Nothing) As MetricValue
Parameters
- timestamp
- Nullable<DateTimeOffset>
The timestamp for the metric value in RFC 3339 format.
Returns
A new MetricValue instance for mocking.