MetricSpecification interface

Specifications of the Metrics for Azure Monitoring

Properties

aggregationType

Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.

category

Name of the metric category that the metric belongs to. A metric can only belong to a single category.

dimensions

Dimensions of the metric

displayDescription

Localized friendly description of the metric

displayName

Localized friendly display name of the metric

enableRegionalMdmAccount

Whether regional MDM account enabled.

fillGapWithZero

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

isInternal

Whether the metric is internal.

metricFilterPattern

Pattern for the filter of the metric.

name

Name of the metric

resourceIdDimensionNameOverride

The resource Id dimension name override.

sourceMdmAccount

The source MDM account.

sourceMdmNamespace

The source MDM namespace.

supportedAggregationTypes

Supported aggregation types

supportedTimeGrainTypes

Supported time grain types

unit

Unit that makes sense for the metric

Property Details

aggregationType

Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.

aggregationType?: string

Property Value

string

category

Name of the metric category that the metric belongs to. A metric can only belong to a single category.

category?: string

Property Value

string

dimensions

Dimensions of the metric

dimensions?: MetricDimension[]

Property Value

displayDescription

Localized friendly description of the metric

displayDescription?: string

Property Value

string

displayName

Localized friendly display name of the metric

displayName?: string

Property Value

string

enableRegionalMdmAccount

Whether regional MDM account enabled.

enableRegionalMdmAccount?: boolean

Property Value

boolean

fillGapWithZero

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

fillGapWithZero?: boolean

Property Value

boolean

isInternal

Whether the metric is internal.

isInternal?: boolean

Property Value

boolean

metricFilterPattern

Pattern for the filter of the metric.

metricFilterPattern?: string

Property Value

string

name

Name of the metric

name?: string

Property Value

string

resourceIdDimensionNameOverride

The resource Id dimension name override.

resourceIdDimensionNameOverride?: string

Property Value

string

sourceMdmAccount

The source MDM account.

sourceMdmAccount?: string

Property Value

string

sourceMdmNamespace

The source MDM namespace.

sourceMdmNamespace?: string

Property Value

string

supportedAggregationTypes

Supported aggregation types

supportedAggregationTypes?: string[]

Property Value

string[]

supportedTimeGrainTypes

Supported time grain types

supportedTimeGrainTypes?: string[]

Property Value

string[]

unit

Unit that makes sense for the metric

unit?: string

Property Value

string