UsageMetric Class

A metric describing the usage of a resource.

Inheritance
UsageMetric

Constructor

UsageMetric(*, name: Optional[azure.mgmt.loganalytics.models._models_py3.MetricName] = None, unit: Optional[str] = None, current_value: Optional[float] = None, limit: Optional[float] = None, next_reset_time: Optional[datetime.datetime] = None, quota_period: Optional[str] = None, **kwargs)

Parameters

name
MetricName
Required

The name of the metric.

unit
str
Required

The units used for the metric.

current_value
float
Required

The current value of the metric.

limit
float
Required

The quota limit for the metric.

next_reset_time
datetime
Required

The time that the metric's value will reset.

quota_period
str
Required

The quota period that determines the length of time between value resets.