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.Model
MetricDefinition

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
str

The resource uri of the database.

name

The name information for the metric.