通过


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

MetricSpecification interface

Azure 监视指标规范

属性

aggregationType

仅为此字段提供一个值。 有效值:平均值、最小值、最大值、总计、计数。

category

指标所属的指标类别的名称。 指标只能属于单个类别。

dimensions

指标的维度

displayDescription

指标的本地化友好说明

displayName

指标的本地化友好显示名称

enableRegionalMdmAccount

是否启用了区域 MDM 帐户。

fillGapWithZero

自选。 如果设置为 true,则会在未发出/发布任何指标的时间段内返回零。

isInternal

指标是否为内部指标。

metricFilterPattern

指标筛选器的模式。

name

指标的名称

resourceIdDimensionNameOverride

资源 ID 维度名称重写。

sourceMdmAccount

源 MDM 帐户。

sourceMdmNamespace

源 MDM 命名空间。

supportedAggregationTypes

支持的聚合类型

supportedTimeGrainTypes

支持的时间粒度类型

unit

指标有意义的单位

属性详细信息

aggregationType

仅为此字段提供一个值。 有效值:平均值、最小值、最大值、总计、计数。

aggregationType?: string

属性值

string

category

指标所属的指标类别的名称。 指标只能属于单个类别。

category?: string

属性值

string

dimensions

指标的维度

dimensions?: MetricDimension[]

属性值

displayDescription

指标的本地化友好说明

displayDescription?: string

属性值

string

displayName

指标的本地化友好显示名称

displayName?: string

属性值

string

enableRegionalMdmAccount

是否启用了区域 MDM 帐户。

enableRegionalMdmAccount?: boolean

属性值

boolean

fillGapWithZero

自选。 如果设置为 true,则会在未发出/发布任何指标的时间段内返回零。

fillGapWithZero?: boolean

属性值

boolean

isInternal

指标是否为内部指标。

isInternal?: boolean

属性值

boolean

metricFilterPattern

指标筛选器的模式。

metricFilterPattern?: string

属性值

string

name

指标的名称

name?: string

属性值

string

resourceIdDimensionNameOverride

资源 ID 维度名称重写。

resourceIdDimensionNameOverride?: string

属性值

string

sourceMdmAccount

源 MDM 帐户。

sourceMdmAccount?: string

属性值

string

sourceMdmNamespace

源 MDM 命名空间。

sourceMdmNamespace?: string

属性值

string

supportedAggregationTypes

支持的聚合类型

supportedAggregationTypes?: string[]

属性值

string[]

supportedTimeGrainTypes

支持的时间粒度类型

supportedTimeGrainTypes?: string[]

属性值

string[]

unit

指标有意义的单位

unit?: string

属性值

string