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

MetricSpecification interface

作的指标规范。

属性

aggregationType

指标聚合类型。 可能的值包括:“Average”、“Count”、“Total”。

dimensions

指标的维度

displayDescription

显示指标规范的说明。

displayName

指标规范的显示名称。

fillGapWithZero

用于指定是否用零填充空白的属性。

internalMetricName

内部指标名称。

lockAggregationType

指标锁聚合类型。

name

指标规范的名称。

supportedAggregationTypes

指标支持的聚合类型。

supportedTimeGrainTypes

指标支持的时间粒度类型。

unit

指标单位。 可能的值包括:“Bytes”、“Count”、“毫秒”。

属性详细信息

aggregationType

指标聚合类型。 可能的值包括:“Average”、“Count”、“Total”。

aggregationType?: string

属性值

string

dimensions

指标的维度

dimensions?: DimensionProperties[]

属性值

displayDescription

显示指标规范的说明。

displayDescription?: string

属性值

string

displayName

指标规范的显示名称。

displayName?: string

属性值

string

fillGapWithZero

用于指定是否用零填充空白的属性。

fillGapWithZero?: boolean

属性值

boolean

internalMetricName

内部指标名称。

internalMetricName?: string

属性值

string

lockAggregationType

指标锁聚合类型。

lockAggregationType?: string

属性值

string

name

指标规范的名称。

name?: string

属性值

string

supportedAggregationTypes

指标支持的聚合类型。

supportedAggregationTypes?: string[]

属性值

string[]

supportedTimeGrainTypes

指标支持的时间粒度类型。

supportedTimeGrainTypes?: string[]

属性值

string[]

unit

指标单位。 可能的值包括:“Bytes”、“Count”、“毫秒”。

unit?: string

属性值

string