MetricSpecification Class
Specifications of the Metrics for Azure Monitoring.
- Inheritance
-
MetricSpecification
Constructor
MetricSpecification(*, name: Optional[str] = None, display_name: Optional[str] = None, display_description: Optional[str] = None, unit: Optional[str] = None, category: Optional[str] = None, aggregation_type: Optional[str] = None, supported_aggregation_types: Optional[List[str]] = None, supported_time_grain_types: Optional[List[str]] = None, fill_gap_with_zero: Optional[bool] = None, dimensions: Optional[List[azure.mgmt.avs.models._models_py3.MetricDimension]] = None, enable_regional_mdm_account: Optional[str] = None, source_mdm_account: Optional[str] = None, source_mdm_namespace: Optional[str] = None, **kwargs)
Parameters
- category
- str
Required
Name of the metric category that the metric belongs to. A metric can only belong to a single category.
- aggregation_type
- str
Required
Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.
- fill_gap_with_zero
- bool
Required
Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.
Feedback
Submit and view feedback for