MetricSpecification Class
Metric specification of operation.
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, availabilities: List[_models.MetricAvailability] | None = None, supported_time_grain_types: List[str] | None = None, dimensions: List[_models.DimensionProperties] | None = None, fill_gap_with_zero: bool | None = None, metric_filter_pattern: str | None = None, is_internal: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
name
|
Name of metric specification. Default value: None
|
display_name
|
Display name of metric specification. Default value: None
|
display_description
|
Display description of metric specification. Default value: None
|
unit
|
The metric unit. Possible values include: 'Bytes', 'Count', 'Milliseconds'. Default value: None
|
aggregation_type
|
The metric aggregation type. Possible values include: 'Average', 'Count', 'Total'. Default value: None
|
availabilities
|
Retention policies of a resource metric. Default value: None
|
supported_time_grain_types
|
The supported time grain types for the metrics. Default value: None
|
dimensions
|
The dimensions of metric. Default value: None
|
fill_gap_with_zero
|
Property to specify whether to fill gap with zero. Default value: None
|
metric_filter_pattern
|
Pattern to filter based on name. Default value: None
|
is_internal
|
Property to specify metric is internal or not. Default value: None
|
Variables
Name | Description |
---|---|
name
|
Name of metric specification. |
display_name
|
Display name of metric specification. |
display_description
|
Display description of metric specification. |
unit
|
The metric unit. Possible values include: 'Bytes', 'Count', 'Milliseconds'. |
aggregation_type
|
The metric aggregation type. Possible values include: 'Average', 'Count', 'Total'. |
availabilities
|
Retention policies of a resource metric. |
supported_time_grain_types
|
The supported time grain types for the metrics. |
dimensions
|
The dimensions of metric. |
fill_gap_with_zero
|
Property to specify whether to fill gap with zero. |
metric_filter_pattern
|
Pattern to filter based on name. |
is_internal
|
Property to specify metric is internal or not. |