MetricSpecifications Class

The details of metric specifications.

Inheritance
MetricSpecifications

Constructor

MetricSpecifications(*, name: Optional[str] = None, display_name: Optional[str] = None, display_description: Optional[str] = None, unit: Optional[str] = None, aggregation_type: Optional[str] = None, supported_aggregation_types: Optional[List[str]] = None, supported_time_grain_types: Optional[List[str]] = None, enable_regional_mdm_account: Optional[bool] = None, source_mdm_account: Optional[str] = None, source_mdm_namespace: Optional[str] = None, metric_filter_pattern: Optional[str] = None, fill_gap_with_zero: Optional[bool] = None, category: Optional[str] = None, resource_id_dimension_name_override: Optional[str] = None, is_internal: Optional[bool] = None, delegate_metric_name_override: Optional[str] = None, dimensions: Optional[List[azure.mgmt.hdinsight.models._models_py3.Dimension]] = None, **kwargs)

Parameters

name
str
Required

The name of the metric specification.

display_name
str
Required

The display name of the metric specification.

display_description
str
Required

The display description of the metric specification.

unit
str
Required

The unit of the metric specification.

aggregation_type
str
Required

The aggregation type of the metric specification.

supported_aggregation_types
list[str]
Required

The supported aggregation types of the metric specification.

supported_time_grain_types
list[str]
Required

The supported time grain types of the metric specification.

enable_regional_mdm_account
bool
Required

The flag indicates whether enable regional mdm account or not.

source_mdm_account
str
Required

The source mdm account.

source_mdm_namespace
str
Required

The source mdm namespace.

metric_filter_pattern
str
Required

The metric filter pattern.

fill_gap_with_zero
bool
Required

The flag indicates whether filling gap with zero.

category
str
Required

The category of the metric.

resource_id_dimension_name_override
str
Required

The override name of resource id dimension name.

is_internal
bool
Required

The flag indicates whether the metric is internal or not.

delegate_metric_name_override
str
Required

The override name of delegate metric.

dimensions
list[Dimension]
Required

The dimensions of the metric specification.