Metric Constructors

Definition

Overloads

Metric()

Initializes a new instance of the Metric class.

Metric(Nullable<DateTime>, Nullable<DateTime>, String, String, MetricName, IList<MetricValue>)

Initializes a new instance of the Metric class.

Metric()

Initializes a new instance of the Metric class.

public Metric ();
Public Sub New ()

Metric(Nullable<DateTime>, Nullable<DateTime>, String, String, MetricName, IList<MetricValue>)

Initializes a new instance of the Metric class.

public Metric (Nullable<DateTime> startTime = null, Nullable<DateTime> endTime = null, string timeGrain = null, string unit = null, Microsoft.Azure.Management.Sql.Models.MetricName name = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.MetricValue> metricValues = null);
new Microsoft.Azure.Management.Sql.Models.Metric : Nullable<DateTime> * Nullable<DateTime> * string * string * Microsoft.Azure.Management.Sql.Models.MetricName * System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.MetricValue> -> Microsoft.Azure.Management.Sql.Models.Metric
Public Sub New (Optional startTime As Nullable(Of DateTime) = null, Optional endTime As Nullable(Of DateTime) = null, Optional timeGrain As String = null, Optional unit As String = null, Optional name As MetricName = null, Optional metricValues As IList(Of MetricValue) = null)

Parameters

startTime
Nullable<DateTime>

The start time for the metric (ISO-8601 format).

endTime
Nullable<DateTime>

The end time for the metric (ISO-8601 format).

timeGrain
String

The time step to be used to summarize the metric values.

unit
String

The unit of the metric. Possible values include: 'count', 'bytes', 'seconds', 'percent', 'countPerSecond', 'bytesPerSecond'

name
MetricName

The name information for the metric.

metricValues
IList<MetricValue>

The metric values for the specified time window and timestep.

Applies to