MetricDefinition Class
Metadata for a metric.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.web.v2018_02_01.models._models_py3.ProxyOnlyResourceMetricDefinition
Constructor
MetricDefinition(*, kind: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
kind
|
Kind of resource. |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource Name. |
kind
|
Kind of resource. |
type
|
Resource type. |
unit
|
Unit of the metric. |
primary_aggregation_type
|
Primary aggregation type. |
metric_availabilities
|
List of time grains supported for the metric together with retention period. |
display_name
|
Friendly name shown in the UI. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python