MetricSpecification Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- metricClass
- String
Type of metrics.
- dimensions
- IList<MetricDimension>
Dimensions of the metric
Applies to
Azure SDK for .NET