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<String>, IList<String>, Nullable<Boolean>, 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.

Category

Gets or sets name of the metric category that the metric belongs to. A metric can only belong to a single category.

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

FillGapWithZero

Gets or sets optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.

Name

Gets or sets name of the metric

SupportedAggregationTypes

Gets or sets supported aggregation types

SupportedTimeGrainTypes

Gets or sets supported time grain types

Unit

Gets or sets unit that makes sense for the metric

Applies to