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, availabilities: Optional[List[str]] = None, lock_aggregation_type: Optional[str] = None, category: Optional[str] = None, dimensions: Optional[List[azure.mgmt.monitor.v2015_07_01.models._models_py3.DimensionProperties]] = None, fill_gap_with_zero: Optional[bool] = None, internal_metric_name: Optional[str] = None, **kwargs)

Variables

name
str

The name of the metric.

display_name
str

Display name of the metric.

display_description
str

Display description of the metric.

unit
str

The metric unit. Possible values include: Count,Bytes,Seconds,Percent,CountPerSecond,BytesPerSecond,MilliSeconds,ByteSeconds,Unspecified,BitsPerSecond,Cores,MilliCores,NanoCores.

aggregation_type
str

The default metric aggregation type. Possible values include: Total,Average,Maximum,Minimum,Count.

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.

availabilities
list[str]

The supported time grain types for the metrics.

lock_aggregation_type
str

The metric lock aggregation type.

category
str

Category or type of metric.

dimensions
list[<xref:$>(<xref:python-base-namespace>)DimensionProperties]

The dimensions of metric.

fill_gap_with_zero
bool

Property to specify whether to fill empty gaps with zero.

internal_metric_name
str

The internal metric name.