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

MetricSpecification interface

A metric emitted by service.

Properties

aggregationType

The metric aggregation type NOTE: This property will not be serialized. It can only be populated by the server.

dimensions

The metric dimensions. NOTE: This property will not be serialized. It can only be populated by the server.

displayDescription

The metric display description. NOTE: This property will not be serialized. It can only be populated by the server.

displayName

The metric display name. NOTE: This property will not be serialized. It can only be populated by the server.

enableRegionalMdmAccount

Indicates whether regional MDM account is enabled. NOTE: This property will not be serialized. It can only be populated by the server.

lockAggregationType

The metric lock aggregation type NOTE: This property will not be serialized. It can only be populated by the server.

name

The metric name. NOTE: This property will not be serialized. It can only be populated by the server.

sourceMdmAccount

The source MDM account. NOTE: This property will not be serialized. It can only be populated by the server.

sourceMdmNamespace

The source MDM namespace. NOTE: This property will not be serialized. It can only be populated by the server.

supportedAggregationTypes

Supported aggregation types.

supportedTimeGrainTypes

The supported time grain types. NOTE: This property will not be serialized. It can only be populated by the server.

unit

The metric unit NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

aggregationType

The metric aggregation type NOTE: This property will not be serialized. It can only be populated by the server.

aggregationType?: string

Property Value

string

dimensions

The metric dimensions. NOTE: This property will not be serialized. It can only be populated by the server.

dimensions?: MetricDimension[]

Property Value

displayDescription

The metric display description. NOTE: This property will not be serialized. It can only be populated by the server.

displayDescription?: string

Property Value

string

displayName

The metric display name. NOTE: This property will not be serialized. It can only be populated by the server.

displayName?: string

Property Value

string

enableRegionalMdmAccount

Indicates whether regional MDM account is enabled. NOTE: This property will not be serialized. It can only be populated by the server.

enableRegionalMdmAccount?: boolean

Property Value

boolean

lockAggregationType

The metric lock aggregation type NOTE: This property will not be serialized. It can only be populated by the server.

lockAggregationType?: string

Property Value

string

name

The metric name. NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

sourceMdmAccount

The source MDM account. NOTE: This property will not be serialized. It can only be populated by the server.

sourceMdmAccount?: string

Property Value

string

sourceMdmNamespace

The source MDM namespace. NOTE: This property will not be serialized. It can only be populated by the server.

sourceMdmNamespace?: string

Property Value

string

supportedAggregationTypes

Supported aggregation types.

supportedAggregationTypes?: string[]

Property Value

string[]

supportedTimeGrainTypes

The supported time grain types. NOTE: This property will not be serialized. It can only be populated by the server.

supportedTimeGrainTypes?: string[]

Property Value

string[]

unit

The metric unit NOTE: This property will not be serialized. It can only be populated by the server.

unit?: string

Property Value

string