Share via


Metrics Constructors

Definition

Overloads

Metrics()

Initializes a new instance of the Metrics class.

Metrics(String, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<MetricAggregationType>, MetricName, IList<MetricDimension>, Nullable<MetricUnit>, String, IList<MetricData>)

Initializes a new instance of the Metrics class.

Metrics()

Initializes a new instance of the Metrics class.

public Metrics ();
Public Sub New ()

Applies to

Metrics(String, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<MetricAggregationType>, MetricName, IList<MetricDimension>, Nullable<MetricUnit>, String, IList<MetricData>)

Initializes a new instance of the Metrics class.

public Metrics (string resourceId = default, DateTime? startTime = default, DateTime? endTime = default, string timeGrain = default, Microsoft.Azure.Management.StorSimple8000Series.Models.MetricAggregationType? primaryAggregation = default, Microsoft.Azure.Management.StorSimple8000Series.Models.MetricName name = default, System.Collections.Generic.IList<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricDimension> dimensions = default, Microsoft.Azure.Management.StorSimple8000Series.Models.MetricUnit? unit = default, string type = default, System.Collections.Generic.IList<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricData> values = default);
new Microsoft.Azure.Management.StorSimple8000Series.Models.Metrics : string * Nullable<DateTime> * Nullable<DateTime> * string * Nullable<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricAggregationType> * Microsoft.Azure.Management.StorSimple8000Series.Models.MetricName * System.Collections.Generic.IList<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricDimension> * Nullable<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricUnit> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricData> -> Microsoft.Azure.Management.StorSimple8000Series.Models.Metrics
Public Sub New (Optional resourceId As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional timeGrain As String = Nothing, Optional primaryAggregation As Nullable(Of MetricAggregationType) = Nothing, Optional name As MetricName = Nothing, Optional dimensions As IList(Of MetricDimension) = Nothing, Optional unit As Nullable(Of MetricUnit) = Nothing, Optional type As String = Nothing, Optional values As IList(Of MetricData) = Nothing)

Parameters

resourceId
String

The ID of metric source.

startTime
Nullable<DateTime>

The start time of the metric data.

endTime
Nullable<DateTime>

The end time of the metric data.

timeGrain
String

The time granularity of the metric data.

primaryAggregation
Nullable<MetricAggregationType>

The metric aggregation type. Possible values include: 'Average', 'Last', 'Maximum', 'Minimum', 'None', 'Total'

name
MetricName

The name of the metric.

dimensions
IList<MetricDimension>

The metric dimensions.

unit
Nullable<MetricUnit>

The unit of the metric data. Possible values include: 'Bytes', 'BytesPerSecond', 'Count', 'CountPerSecond', 'Percent', 'Seconds'

type
String

The type of the metric data.

values
IList<MetricData>

The list of the metric data.

Applies to