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, availabilities: Optional[List[azure.mgmt.cdn.models._models_py3.MetricAvailability]] = None, supported_time_grain_types: Optional[List[str]] = None, dimensions: Optional[List[azure.mgmt.cdn.models._models_py3.DimensionProperties]] = None, fill_gap_with_zero: Optional[bool] = None, metric_filter_pattern: Optional[str] = None, is_internal: Optional[bool] = 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'.

availabilities
list[MetricAvailability]

Retention policies of a resource metric.

supported_time_grain_types
list[str]

The supported time grain types for the metrics.

dimensions
list[DimensionProperties]

The dimensions of metric.

fill_gap_with_zero
bool

Property to specify whether to fill gap with zero.

metric_filter_pattern
str

Pattern to filter based on name.

is_internal
bool

Property to specify metric is internal or not.