MetricDefinition Class
The definition of a metric.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.cosmosdb._serialization.ModelMetricDefinition
Constructor
MetricDefinition(**kwargs: Any)
Variables
Name | Description |
---|---|
metric_availabilities
|
The list of metric availabilities for the account. |
primary_aggregation_type
|
The primary aggregation type of the metric. Known values are: "None", "Average", "Total", "Minimum", "Maximum", and "Last". |
unit
|
The unit of the metric. Known values are: "Count", "Bytes", "Seconds", "Percent", "CountPerSecond", "BytesPerSecond", and "Milliseconds". |
resource_uri
|
The resource uri of the database. |
name
|
The name information for the metric. |
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