MetricDefinition Class
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.
The monitoring metric definition.
public class MetricDefinition
type MetricDefinition = class
Public Class MetricDefinition
- Inheritance
-
MetricDefinition
Constructors
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. |
Properties
Category |
Gets or sets the category of the metric. |
Dimensions |
Gets or sets the available metric dimensions. |
MetricAvailabilities |
Gets or sets the available metric granularities. |
Name |
Gets or sets the metric name. |
PrimaryAggregationType |
Gets or sets the metric aggregation type. Possible values include: 'Average', 'Last', 'Maximum', 'Minimum', 'None', 'Total' |
ResourceId |
Gets or sets the metric source ID. |
Type |
Gets or sets the metric definition type. |
Unit |
Gets or sets the metric unit. Possible values include: 'Bytes', 'BytesPerSecond', 'Count', 'CountPerSecond', 'Percent', 'Seconds' |