MetricSpecification Constructors

Definition

Overloads

MetricSpecification()

Initializes a new instance of the MetricSpecification class.

MetricSpecification(String, String, String, String, String, IList<String>, String, IList<MetricDimension>)

Initializes a new instance of the MetricSpecification class.

MetricSpecification()

Initializes a new instance of the MetricSpecification class.

public MetricSpecification ();
Public Sub New ()

Applies to

MetricSpecification(String, String, String, String, String, IList<String>, String, IList<MetricDimension>)

Initializes a new instance of the MetricSpecification class.

public MetricSpecification (string name = default, string displayName = default, string displayDescription = default, string unit = default, string aggregationType = default, System.Collections.Generic.IList<string> supportedAggregationTypes = default, string metricClass = default, System.Collections.Generic.IList<Microsoft.Azure.Management.StorageCache.Models.MetricDimension> dimensions = default);
new Microsoft.Azure.Management.StorageCache.Models.MetricSpecification : string * string * string * string * string * System.Collections.Generic.IList<string> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.StorageCache.Models.MetricDimension> -> Microsoft.Azure.Management.StorageCache.Models.MetricSpecification
Public Sub New (Optional name As String = Nothing, Optional displayName As String = Nothing, Optional displayDescription As String = Nothing, Optional unit As String = Nothing, Optional aggregationType As String = Nothing, Optional supportedAggregationTypes As IList(Of String) = Nothing, Optional metricClass As String = Nothing, Optional dimensions As IList(Of MetricDimension) = Nothing)

Parameters

name
String

The name of the metric.

displayName
String

Localized display name of the metric.

displayDescription
String

The description of the metric.

unit
String

The unit that the metric is measured in.

aggregationType
String

The type of metric aggregation.

supportedAggregationTypes
IList<String>

Support metric aggregation type.

metricClass
String

Type of metrics.

dimensions
IList<MetricDimension>

Dimensions of the metric

Applies to