MetricSpecification Class

A metric emitted by service.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
MetricSpecification

Constructor

MetricSpecification(*, supported_aggregation_types: Optional[List[str]] = None, **kwargs)

Variables

name
str

The metric name.

display_name
str

The metric display name.

display_description
str

The metric display description.

unit
str or MetricUnit

The metric unit. Known values are: "Bytes", "Count", "Milliseconds".

aggregation_type
str or MetricAggregationType

The metric aggregation type. Known values are: "Average", "Count", "Total".

lock_aggregation_type
str or MetricAggregationType

The metric lock aggregation type. Known values are: "Average", "Count", "Total".

supported_aggregation_types
list[str]

Supported aggregation types.

dimensions
list[MetricDimension]

The metric dimensions.

enable_regional_mdm_account
bool

Indicates whether regional MDM account is enabled.

source_mdm_account
str

The source MDM account.

source_mdm_namespace
str

The source MDM namespace.

supported_time_grain_types
list[str]

The supported time grain types.