Metrics 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.
public class Metrics
type Metrics = class
Public Class Metrics
- Inheritance
-
Metrics
Constructors
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. |
Properties
Dimensions |
Gets or sets the metric dimensions. |
EndTime |
Gets or sets the end time of the metric data. |
Name |
Gets or sets the name of the metric. |
PrimaryAggregation |
Gets or sets the metric aggregation type. Possible values include: 'Average', 'Last', 'Maximum', 'Minimum', 'None', 'Total' |
ResourceId |
Gets or sets the ID of metric source. |
StartTime |
Gets or sets the start time of the metric data. |
TimeGrain |
Gets or sets the time granularity of the metric data. |
Type |
Gets or sets the type of the metric data. |
Unit |
Gets or sets the unit of the metric data. Possible values include: 'Bytes', 'BytesPerSecond', 'Count', 'CountPerSecond', 'Percent', 'Seconds' |
Values |
Gets or sets the list of the metric data. |