MetricDefinition interface

The monitoring metric definition.

Properties

category

The category of the metric.

dimensions

The available metric dimensions.

metricAvailabilities

The available metric granularities.

name

The metric name.

primaryAggregationType

The metric aggregation type.

resourceId

The metric source ID.

type

The metric definition type.

unit

The metric unit.

Property Details

category

The category of the metric.

category?: string

Property Value

string

dimensions

The available metric dimensions.

dimensions?: MetricDimension[]

Property Value

metricAvailabilities

The available metric granularities.

metricAvailabilities?: MetricAvailablity[]

Property Value

name

The metric name.

name?: MetricName

Property Value

primaryAggregationType

The metric aggregation type.

primaryAggregationType?: MetricAggregationType

Property Value

resourceId

The metric source ID.

resourceId?: string

Property Value

string

type

The metric definition type.

type?: string

Property Value

string

unit

The metric unit.

unit?: MetricUnit

Property Value