ArmSqlModelFactory.SqlMetricValue Method

Definition

Initializes a new instance of SqlMetricValue.

public static Azure.ResourceManager.Sql.Models.SqlMetricValue SqlMetricValue (int? count = default, double? average = default, double? maximum = default, double? minimum = default, DateTimeOffset? timestamp = default, double? total = default);
static member SqlMetricValue : Nullable<int> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<DateTimeOffset> * Nullable<double> -> Azure.ResourceManager.Sql.Models.SqlMetricValue
Public Shared Function SqlMetricValue (Optional count As Nullable(Of Integer) = Nothing, Optional average As Nullable(Of Double) = Nothing, Optional maximum As Nullable(Of Double) = Nothing, Optional minimum As Nullable(Of Double) = Nothing, Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional total As Nullable(Of Double) = Nothing) As SqlMetricValue

Parameters

count
Nullable<Int32>

The number of values for the metric.

average
Nullable<Double>

The average value of the metric.

maximum
Nullable<Double>

The max value of the metric.

minimum
Nullable<Double>

The min value of the metric.

timestamp
Nullable<DateTimeOffset>

The metric timestamp (ISO-8601 format).

total
Nullable<Double>

The total value of the metric.

Returns

A new SqlMetricValue instance for mocking.

Applies to