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, aggregation_type: Optional[str] = None, internal_metric_name: Optional[str] = None, dimensions: Optional[List[azure.mgmt.appconfiguration.models._models_py3.MetricDimension]] = None, fill_gap_with_zero: Optional[bool] = 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.

aggregation_type
str

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

internal_metric_name
str

Internal metric name.

dimensions
list[MetricDimension]

Dimensions of the metric.

fill_gap_with_zero
bool

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