次の方法で共有


MetricSpecification interface

Specifications of the Metrics for Azure Monitoring.

Properties

aggregationType

Aggregation type will be set to one of the values: Average, Minimum, Maximum, Total, Count. NOTE: This property will not be serialized. It can only be populated by the server.

dimensions

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

displayDescription

Localized friendly description of the metric. NOTE: This property will not be serialized. It can only be populated by the server.

displayName

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

name

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

supportedTimeGrainTypes

Supported time grain types for the metric. NOTE: This property will not be serialized. It can only be populated by the server.

unit

Unit that makes sense for the metric. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

aggregationType

Aggregation type will be set to one of the values: Average, Minimum, Maximum, Total, Count. NOTE: This property will not be serialized. It can only be populated by the server.

aggregationType?: string

Property Value

string

dimensions

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

dimensions?: MetricDimension[]

Property Value

displayDescription

Localized friendly description of the metric. NOTE: This property will not be serialized. It can only be populated by the server.

displayDescription?: string

Property Value

string

displayName

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

displayName?: string

Property Value

string

name

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

name?: string

Property Value

string

supportedTimeGrainTypes

Supported time grain types for the metric. NOTE: This property will not be serialized. It can only be populated by the server.

supportedTimeGrainTypes?: string[]

Property Value

string[]

unit

Unit that makes sense for the metric. NOTE: This property will not be serialized. It can only be populated by the server.

unit?: string

Property Value

string