ArmSqlModelFactory.QueryMetricProperties Method

Definition

Initializes a new instance of QueryMetricProperties.

public static Azure.ResourceManager.Sql.Models.QueryMetricProperties QueryMetricProperties (string name = default, string displayName = default, Azure.ResourceManager.Sql.Models.QueryMetricUnitType? unit = default, double? value = default, double? min = default, double? max = default, double? avg = default, double? sum = default, double? stdev = default);
static member QueryMetricProperties : string * string * Nullable<Azure.ResourceManager.Sql.Models.QueryMetricUnitType> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<double> -> Azure.ResourceManager.Sql.Models.QueryMetricProperties
Public Shared Function QueryMetricProperties (Optional name As String = Nothing, Optional displayName As String = Nothing, Optional unit As Nullable(Of QueryMetricUnitType) = Nothing, Optional value As Nullable(Of Double) = Nothing, Optional min As Nullable(Of Double) = Nothing, Optional max As Nullable(Of Double) = Nothing, Optional avg As Nullable(Of Double) = Nothing, Optional sum As Nullable(Of Double) = Nothing, Optional stdev As Nullable(Of Double) = Nothing) As QueryMetricProperties

Parameters

name
String

The name information for the metric.

displayName
String

The UI appropriate name for the metric.

unit
Nullable<QueryMetricUnitType>

The unit of the metric.

value
Nullable<Double>

The value of the metric.

min
Nullable<Double>

Metric value when min() aggregate function is used over the interval.

max
Nullable<Double>

Metric value when max() aggregate function is used over the interval.

avg
Nullable<Double>

Metric value when avg() aggregate function is used over the interval.

sum
Nullable<Double>

Metric value when sum() aggregate function is used over the interval.

stdev
Nullable<Double>

Metric value when stdev aggregate function is used over the interval.

Returns

A new QueryMetricProperties instance for mocking.

Applies to