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

Metric category

dimensions

Dimensions of the metric

displayDescription

Localized friendly description of the metric

displayName

Localized friendly display name of the metric

enableRegionalMdmAccount

Flag to indicate use of regional Mdm accounts

fillGapWithZero

Flag to determine is Zero is returned for time duration where no metric is emitted

internalMetricName

Internal metric name.

lockedAggregationType

Locked aggregation type of the metric

metricFilterPattern

Metric filter regex pattern

name

Name of the metric

sourceMdmAccount

Source mdm account

sourceMdmNamespace

Source mdm namespace

supportedAggregationTypes

Supported aggregation types. Valid values: Average, Minimum, Maximum, Total, Count.

supportedTimeGrainTypes

Supported time grains. Valid values: PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D

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

Metric 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

Flag to indicate use of regional Mdm accounts

enableRegionalMdmAccount?: boolean

Property Value

boolean

fillGapWithZero

Flag to determine is Zero is returned for time duration where no metric is emitted

fillGapWithZero?: boolean

Property Value

boolean

internalMetricName

Internal metric name.

internalMetricName?: string

Property Value

string

lockedAggregationType

Locked aggregation type of the metric

lockedAggregationType?: string

Property Value

string

metricFilterPattern

Metric filter regex pattern

metricFilterPattern?: string

Property Value

string

name

Name of the metric

name?: string

Property Value

string

sourceMdmAccount

Source mdm account

sourceMdmAccount?: string

Property Value

string

sourceMdmNamespace

Source mdm namespace

sourceMdmNamespace?: string

Property Value

string

supportedAggregationTypes

Supported aggregation types. Valid values: Average, Minimum, Maximum, Total, Count.

supportedAggregationTypes?: string[]

Property Value

string[]

supportedTimeGrainTypes

Supported time grains. Valid values: PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D

supportedTimeGrainTypes?: string[]

Property Value

string[]

unit

Unit that makes sense for the metric

unit?: string

Property Value

string