MetricSpecification Class

Specifications of the Metrics for Azure Monitoring.

Inheritance
MetricSpecification

Constructor

MetricSpecification(*, name: Optional[str] = None, display_name: Optional[str] = None, display_description: Optional[str] = None, unit: Optional[str] = None, category: Optional[str] = None, aggregation_type: Optional[str] = None, supported_aggregation_types: Optional[List[str]] = None, supported_time_grain_types: Optional[List[str]] = None, fill_gap_with_zero: Optional[bool] = None, dimensions: Optional[List[azure.mgmt.appplatform.v2021_06_01_preview.models._models_py3.MetricDimension]] = None, source_mdm_namespace: Optional[str] = None, **kwargs)

Variables

name
str

Name of the metric.

display_name
str

Localized friendly display name of the metric.

display_description
str

Localized friendly description of the metric.

unit
str

Unit that makes sense for the metric.

category
str

Name of the metric category that the metric belongs to. A metric can only belong to a single category.

aggregation_type
str

Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.

supported_aggregation_types
list[str]

Supported aggregation types.

supported_time_grain_types
list[str]

Supported time grain types.

fill_gap_with_zero
bool

Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.

dimensions
list[MetricDimension]

Dimensions of the metric.

source_mdm_namespace
str

Name of the MDM namespace. Optional.