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

MetricSpecification interface

作的指标规范。

属性

aggregationType

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

availabilities

资源指标的保留策略。

dimensions

指标的维度

displayDescription

显示指标规范的说明。

displayName

指标规范的显示名称。

fillGapWithZero

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

isInternal

用于指定指标的属性是内部指标。

metricFilterPattern

基于名称进行筛选的模式

name

指标规范的名称。

supportedTimeGrainTypes

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

unit

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

属性详细信息

aggregationType

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

aggregationType?: string

属性值

string

availabilities

资源指标的保留策略。

availabilities?: MetricAvailability[]

属性值

dimensions

指标的维度

dimensions?: DimensionProperties[]

属性值

displayDescription

显示指标规范的说明。

displayDescription?: string

属性值

string

displayName

指标规范的显示名称。

displayName?: string

属性值

string

fillGapWithZero

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

fillGapWithZero?: boolean

属性值

boolean

isInternal

用于指定指标的属性是内部指标。

isInternal?: boolean

属性值

boolean

metricFilterPattern

基于名称进行筛选的模式

metricFilterPattern?: string

属性值

string

name

指标规范的名称。

name?: string

属性值

string

supportedTimeGrainTypes

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

supportedTimeGrainTypes?: string[]

属性值

string[]

unit

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

unit?: string

属性值

string