你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MetricSpecificationV1 interface

指标规范版本 1。

属性

aggregationType

指标聚合类型。

category

指标类别。

dimensions

指标维度,不是资源的默认维度。

displayDescription

要显示的指标的说明。

displayName

指标的显示名称。

fillGapWithZero

设置为 true 以用零填充空白。

name

指标的名称。

resourceIdDimensionNameOverride

资源名称重写。

supportedAggregationTypes

支持指标聚合类型。

supportedTimeGrainTypes

支持指标粒度。

unit

指标单位。

属性详细信息

aggregationType

指标聚合类型。

aggregationType?: string

属性值

string

category

指标类别。

category?: string

属性值

string

dimensions

指标维度,不是资源的默认维度。

dimensions?: MetricDimensionV1[]

属性值

displayDescription

要显示的指标的说明。

displayDescription?: string

属性值

string

displayName

指标的显示名称。

displayName?: string

属性值

string

fillGapWithZero

设置为 true 以用零填充空白。

fillGapWithZero?: boolean

属性值

boolean

name

指标的名称。

name?: string

属性值

string

resourceIdDimensionNameOverride

资源名称重写。

resourceIdDimensionNameOverride?: string

属性值

string

supportedAggregationTypes

支持指标聚合类型。

supportedAggregationTypes?: string[]

属性值

string[]

supportedTimeGrainTypes

支持指标粒度。

supportedTimeGrainTypes?: string[]

属性值

string[]

unit

指标单位。

unit?: string

属性值

string