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

MetricSpecification interface

Azure 监视指标的规范。

属性

aggregationType

聚合类型将设置为以下值之一:Average、Minimum、Maximum、Total、Count。 注意:此属性不会序列化。 它只能由服务器填充。

dimensions

指标的维度。 注意:此属性不会序列化。 它只能由服务器填充。

displayDescription

指标的本地化友好说明。 注意:此属性不会序列化。 它只能由服务器填充。

displayName

指标的本地化友好显示名称。 注意:此属性不会序列化。 它只能由服务器填充。

name

指标的名称。 注意:此属性不会序列化。 它只能由服务器填充。

supportedTimeGrainTypes

指标支持的时间粒度类型。 注意:此属性不会序列化。 它只能由服务器填充。

unit

指标有意义的单位。 注意:此属性不会序列化。 它只能由服务器填充。

属性详细信息

aggregationType

聚合类型将设置为以下值之一:Average、Minimum、Maximum、Total、Count。 注意:此属性不会序列化。 它只能由服务器填充。

aggregationType?: string

属性值

string

dimensions

指标的维度。 注意:此属性不会序列化。 它只能由服务器填充。

dimensions?: MetricDimension[]

属性值

displayDescription

指标的本地化友好说明。 注意:此属性不会序列化。 它只能由服务器填充。

displayDescription?: string

属性值

string

displayName

指标的本地化友好显示名称。 注意:此属性不会序列化。 它只能由服务器填充。

displayName?: string

属性值

string

name

指标的名称。 注意:此属性不会序列化。 它只能由服务器填充。

name?: string

属性值

string

supportedTimeGrainTypes

指标支持的时间粒度类型。 注意:此属性不会序列化。 它只能由服务器填充。

supportedTimeGrainTypes?: string[]

属性值

string[]

unit

指标有意义的单位。 注意:此属性不会序列化。 它只能由服务器填充。

unit?: string

属性值

string