MetricDefinition Class

Definition

Metric definition class specifies the metadata for a metric.

public class MetricDefinition
type MetricDefinition = class
Public Class MetricDefinition
Inheritance
MetricDefinition

Properties

Category

Custom category name for this metric.

Dimensions

Returns a list of dimension names.

DisplayDescription

Detailed description of this metric.

Id

The resource identifier of the metric definition.

IsDimensionRequired

Flag to indicate whether the dimension is required.

MetricAvailabilities

The collection of what aggregation intervals are available to be queried.

MetricClass

The class of the metric.

Name

The name of the metric.

Namespace

The namespace the metric belongs to.

PrimaryAggregationType

The primary aggregation type value defining how to use the values for display.

ResourceId

The resource identifier of the resource that emitted the metric.

SupportedAggregationTypes

The collection of what aggregation types are supported.

Unit

The unit of the metric.

Applies to