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

MetricSpecification 类

服务发出的指标。

变量仅由服务器填充,发送请求时将被忽略。

继承
azure.mgmt.media._serialization.Model
MetricSpecification

构造函数

MetricSpecification(*, supported_aggregation_types: List[str] | None = None, **kwargs)

仅限关键字的参数

名称 说明
supported_aggregation_types

支持的聚合类型。

变量

名称 说明
name
str

指标名称。

display_name
str

指标显示名称。

display_description
str

指标显示说明。

unit

指标单位。 已知值为:“Bytes”、“Count”和“Milliseconds”。

aggregation_type

指标聚合类型。 已知值为:“Average”、“Count”和“Total”。

lock_aggregation_type

指标锁聚合类型。 已知值为:“Average”、“Count”和“Total”。

supported_aggregation_types

支持的聚合类型。

dimensions

指标维度。

enable_regional_mdm_account

指示是否启用区域 MDM 帐户。

source_mdm_account
str

源 MDM 帐户。

source_mdm_namespace
str

源 MDM 命名空间。

supported_time_grain_types

支持的时间粒度类型。