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

MetricSpecification 类

单个资源指标的定义。

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

构造函数

MetricSpecification(*, name: str | None = None, display_name: str | None = None, display_description: str | None = None, unit: str | None = None, aggregation_type: str | None = None, supports_instance_level_aggregation: bool | None = None, enable_regional_mdm_account: bool | None = None, source_mdm_account: str | None = None, source_mdm_namespace: str | None = None, metric_filter_pattern: str | None = None, fill_gap_with_zero: bool | None = None, is_internal: bool | None = None, dimensions: List[_models.Dimension] | None = None, category: str | None = None, availabilities: List[_models.MetricAvailability] | None = None, supported_time_grain_types: List[str] | None = None, supported_aggregation_types: List[str] | None = None, **kwargs: Any)

仅限关键字的参数

名称 说明
name
str
display_name
str
display_description
str
unit
str
aggregation_type
str
supports_instance_level_aggregation
enable_regional_mdm_account
source_mdm_account
str
source_mdm_namespace
str
metric_filter_pattern
str
fill_gap_with_zero
is_internal
dimensions
category
str
availabilities
supported_time_grain_types
supported_aggregation_types

变量

名称 说明
name
str
display_name
str
display_description
str
unit
str
aggregation_type
str
supports_instance_level_aggregation
enable_regional_mdm_account
source_mdm_account
str
source_mdm_namespace
str
metric_filter_pattern
str
fill_gap_with_zero
is_internal
dimensions
category
str
availabilities
supported_time_grain_types
supported_aggregation_types