Share via


MetricSpecification Class

Definition

Specifications of the Metrics for Azure Monitoring

public class MetricSpecification
type MetricSpecification = class
Public Class MetricSpecification
Inheritance
MetricSpecification

Constructors

MetricSpecification()

Initializes a new instance of the MetricSpecification class.

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

Initializes a new instance of the MetricSpecification class.

Properties

AggregationType

Gets or sets only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.

Dimensions

Gets or sets dimensions of the metric

DisplayDescription

Gets or sets localized friendly description of the metric

DisplayName

Gets or sets localized friendly display name of the metric

InternalMetricName

Gets or sets internal metric name.

Name

Gets or sets name of the metric

Unit

Gets or sets unit that makes sense for the metric

Applies to