MetricSpecification Class

Metric specification of operation.

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, supported_aggregation_types: Optional[List[str]] = None, supported_time_grain_types: Optional[List[str]] = None, lock_aggregation_type: Optional[str] = None, dimensions: Optional[List[azure.mgmt.keyvault.v2021_06_01_preview.models._models_py3.DimensionProperties]] = None, fill_gap_with_zero: Optional[bool] = None, internal_metric_name: Optional[str] = None, **kwargs)

Variables

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
list[str]

The supported aggregation types for the metrics.

supported_time_grain_types
list[str]

The supported time grain types for the metrics.

lock_aggregation_type
str

The metric lock aggregation type.

dimensions
list[DimensionProperties]

The dimensions of metric.

fill_gap_with_zero
bool

Property to specify whether to fill gap with zero.

internal_metric_name
str

The internal metric name.