MetricDefinition 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
MetricDefinition() |
Initializes a new instance of the MetricDefinition class. |
MetricDefinition(MetricName, Nullable<MetricUnit>, Nullable<MetricAggregationType>, String, IList<MetricAvailablity>, IList<MetricDimension>, String, String) |
Initializes a new instance of the MetricDefinition class. |
MetricDefinition()
Initializes a new instance of the MetricDefinition class.
public MetricDefinition ();
Public Sub New ()
Applies to
MetricDefinition(MetricName, Nullable<MetricUnit>, Nullable<MetricAggregationType>, String, IList<MetricAvailablity>, IList<MetricDimension>, String, String)
Initializes a new instance of the MetricDefinition class.
public MetricDefinition (Microsoft.Azure.Management.StorSimple8000Series.Models.MetricName name = default, Microsoft.Azure.Management.StorSimple8000Series.Models.MetricUnit? unit = default, Microsoft.Azure.Management.StorSimple8000Series.Models.MetricAggregationType? primaryAggregationType = default, string resourceId = default, System.Collections.Generic.IList<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricAvailablity> metricAvailabilities = default, System.Collections.Generic.IList<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricDimension> dimensions = default, string category = default, string type = default);
new Microsoft.Azure.Management.StorSimple8000Series.Models.MetricDefinition : Microsoft.Azure.Management.StorSimple8000Series.Models.MetricName * Nullable<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricUnit> * Nullable<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricAggregationType> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricAvailablity> * System.Collections.Generic.IList<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricDimension> * string * string -> Microsoft.Azure.Management.StorSimple8000Series.Models.MetricDefinition
Public Sub New (Optional name As MetricName = Nothing, Optional unit As Nullable(Of MetricUnit) = Nothing, Optional primaryAggregationType As Nullable(Of MetricAggregationType) = Nothing, Optional resourceId As String = Nothing, Optional metricAvailabilities As IList(Of MetricAvailablity) = Nothing, Optional dimensions As IList(Of MetricDimension) = Nothing, Optional category As String = Nothing, Optional type As String = Nothing)
Parameters
- name
- MetricName
The metric name.
- unit
- Nullable<MetricUnit>
The metric unit. Possible values include: 'Bytes', 'BytesPerSecond', 'Count', 'CountPerSecond', 'Percent', 'Seconds'
- primaryAggregationType
- Nullable<MetricAggregationType>
The metric aggregation type. Possible values include: 'Average', 'Last', 'Maximum', 'Minimum', 'None', 'Total'
- resourceId
- String
The metric source ID.
- metricAvailabilities
- IList<MetricAvailablity>
The available metric granularities.
- dimensions
- IList<MetricDimension>
The available metric dimensions.
- category
- String
The category of the metric.
- type
- String
The metric definition type.