MetricSpecification Class

Metric specification of operation.

Inheritance
azure.mgmt.keyvault._serialization.Model
MetricSpecification

Constructor

MetricSpecification(*, 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, lock_aggregation_type: str | None = None, dimensions: List[_models.DimensionProperties] | None = None, fill_gap_with_zero: bool | None = None, internal_metric_name: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

Name of metric specification.

display_name
str

Display name of metric specification.

display_description
str

Display description of metric specification.

unit
str

The metric unit. Possible values include: 'Bytes', 'Count', 'Milliseconds'.

aggregation_type
str

The metric aggregation type. Possible values include: 'Average', 'Count', 'Total'.

supported_aggregation_types

The supported aggregation types for the metrics.

supported_time_grain_types

The supported time grain types for the metrics.

lock_aggregation_type
str

The metric lock aggregation type.

dimensions

The dimensions of metric.

fill_gap_with_zero

Property to specify whether to fill gap with zero.

internal_metric_name
str

The internal metric name.

Variables

Name Description
name
str

Name of metric specification.

display_name
str

Display name of metric specification.

display_description
str

Display description of metric specification.

unit
str

The metric unit. Possible values include: 'Bytes', 'Count', 'Milliseconds'.

aggregation_type
str

The metric aggregation type. Possible values include: 'Average', 'Count', 'Total'.

supported_aggregation_types

The supported aggregation types for the metrics.

supported_time_grain_types

The supported time grain types for the metrics.

lock_aggregation_type
str

The metric lock aggregation type.

dimensions

The dimensions of metric.

fill_gap_with_zero

Property to specify whether to fill gap with zero.

internal_metric_name
str

The internal metric name.