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

MetricSpecification 类

定义

Azure 监视指标规范

public class MetricSpecification
type MetricSpecification = class
Public Class MetricSpecification
继承
MetricSpecification

构造函数

MetricSpecification()

初始化 MetricSpecification 类的新实例。

MetricSpecification(String, String, String, String, String, String, IList<String>, IList<String>, Nullable<Boolean>, IList<MetricDimension>)

初始化 MetricSpecification 类的新实例。

属性

AggregationType

获取或设置仅为此字段提供一个值。 有效值:Average、Minimum、Maximum、Total、Count。

Category

获取或设置指标所属的指标类别的名称。 指标只能属于单个类别。

Dimensions

获取或设置指标的尺寸

DisplayDescription

获取或设置指标的本地化友好说明

DisplayName

获取或设置指标的本地化友好显示名称

FillGapWithZero

获取或设置可选。 如果设置为 true,则在未发出/发布指标的持续时间内将返回零。

Name

获取或设置指标的名称

SupportedAggregationTypes

获取或设置支持的聚合类型

SupportedTimeGrainTypes

获取或设置支持的时间粒度类型

Unit

获取或设置对指标有意义的单位

适用于