MetricSpecification interface
Specifications of the Metrics for Azure Monitoring
Properties
aggregation |
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 |
display |
Localized friendly description of the metric |
display |
Localized friendly display name of the metric |
enable |
Whether regional MDM account enabled. |
fill |
Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published. |
is |
Whether the metric is internal. |
metric |
Pattern for the filter of the metric. |
name | Name of the metric |
resource |
The resource Id dimension name override. |
source |
The source MDM account. |
source |
The source MDM namespace. |
supported |
Supported aggregation types |
supported |
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
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