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

MetricSpecificationV1 类

定义

指标规范版本 1。

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

构造函数

MetricSpecificationV1()

初始化 MetricSpecificationV1 类的新实例。

MetricSpecificationV1(String, String, String, String, String, IList<MetricDimensionV1>, Nullable<Boolean>, String, String, IList<String>, IList<String>)

初始化 MetricSpecificationV1 类的新实例。

属性

AggregationType

获取或设置指标聚合类型。 可能的值包括:“NotSpecified”、“None”、“Average”、“Minimum”、“Maximum”、“Total”、“Count”

Category

获取或设置指标类别。 可能的值包括:“Capacity”、“Transaction”

Dimensions

获取或设置指标维度,而不是默认维度(即资源)。

DisplayDescription

获取或设置要显示的指标的说明。

DisplayName

获取或设置指标的显示名称。

FillGapWithZero

获取或设置 true 以用零填充间隙。

Name

获取或设置指标的名称。

ResourceIdDimensionNameOverride

获取或设置资源名称替代。

SupportedAggregationTypes

获取或设置支持指标聚合类型。

SupportedTimeGrainTypes

获取或设置指标的支持粒度。

Unit

获取或设置指标单位。 可能的值包括:“NotSpecified”、“Percent”、“Count”、“Seconds”、“Milliseconds”、“Bytes”、“BytesPerSecond”、“CountPerSecond”

适用于