Share via


OperationMetricSpecification Class

Details about an operation related to metrics.

Constructor

OperationMetricSpecification(*, name: str | None = None, display_name: str | None = None, display_description: str | None = None, unit: str | None = None, aggregation_type: str | None = None, enable_regional_mdm_account: str | None = None, source_mdm_account: str | None = None, source_mdm_namespace: str | None = None, availabilities: List[_models.OperationMetricAvailability] | None = None, dimensions: List[_models.OperationMetricDimension] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The name of the metric.

Default value: None
display_name
str

Localized display name of the metric.

Default value: None
display_description
str

The description of the metric.

Default value: None
unit
str

The unit that the metric is measured in.

Default value: None
aggregation_type
str

The type of metric aggregation.

Default value: None
enable_regional_mdm_account
str

Whether or not the service is using regional MDM accounts.

Default value: None
source_mdm_account
str

The name of the MDM account.

Default value: None
source_mdm_namespace
str

The name of the MDM namespace.

Default value: None
availabilities

Defines how often data for metrics becomes available.

Default value: None
dimensions

Defines the metric dimension.

Default value: None

Variables

Name Description
name
str

The name of the metric.

display_name
str

Localized display name of the metric.

display_description
str

The description of the metric.

unit
str

The unit that the metric is measured in.

aggregation_type
str

The type of metric aggregation.

enable_regional_mdm_account
str

Whether or not the service is using regional MDM accounts.

source_mdm_account
str

The name of the MDM account.

source_mdm_namespace
str

The name of the MDM namespace.

availabilities

Defines how often data for metrics becomes available.

dimensions

Defines the metric dimension.