MetricSpecifications Class

The details of metric specifications.

Constructor

MetricSpecifications(*, name: str | None = None, display_name: str | None = None, display_description: str | None = None, unit: str | None = None, aggregation_type: str | None = None, supported_aggregation_types: list[str] | None = None, supported_time_grain_types: list[str] | 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, category: str | None = None, resource_id_dimension_name_override: str | None = None, is_internal: bool | None = None, delegate_metric_name_override: str | None = None, dimensions: list['_models.Dimension'] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The name of the metric specification.

Default value: None
display_name
str

The display name of the metric specification.

Default value: None
display_description
str

The display description of the metric specification.

Default value: None
unit
str

The unit of the metric specification.

Default value: None
aggregation_type
str

The aggregation type of the metric specification.

Default value: None
supported_aggregation_types

The supported aggregation types of the metric specification.

Default value: None
supported_time_grain_types

The supported time grain types of the metric specification.

Default value: None
enable_regional_mdm_account

The flag indicates whether enable regional mdm account or not.

Default value: None
source_mdm_account
str

The source mdm account.

Default value: None
source_mdm_namespace
str

The source mdm namespace.

Default value: None
metric_filter_pattern
str

The metric filter pattern.

Default value: None
fill_gap_with_zero

The flag indicates whether filling gap with zero.

Default value: None
category
str

The category of the metric.

Default value: None
resource_id_dimension_name_override
str

The override name of resource id dimension name.

Default value: None
is_internal

The flag indicates whether the metric is internal or not.

Default value: None
delegate_metric_name_override
str

The override name of delegate metric.

Default value: None
dimensions

The dimensions of the metric specification.

Default value: None

Variables

Name Description
name
str

The name of the metric specification.

display_name
str

The display name of the metric specification.

display_description
str

The display description of the metric specification.

unit
str

The unit of the metric specification.

aggregation_type
str

The aggregation type of the metric specification.

supported_aggregation_types

The supported aggregation types of the metric specification.

supported_time_grain_types

The supported time grain types of the metric specification.

enable_regional_mdm_account

The flag indicates whether enable regional mdm account or not.

source_mdm_account
str

The source mdm account.

source_mdm_namespace
str

The source mdm namespace.

metric_filter_pattern
str

The metric filter pattern.

fill_gap_with_zero

The flag indicates whether filling gap with zero.

category
str

The category of the metric.

resource_id_dimension_name_override
str

The override name of resource id dimension name.

is_internal

The flag indicates whether the metric is internal or not.

delegate_metric_name_override
str

The override name of delegate metric.

dimensions

The dimensions of the metric specification.