MetricAvailability Class

Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain.

Inheritance
MetricAvailability

Constructor

MetricAvailability(*, time_grain: Optional[datetime.timedelta] = None, retention: Optional[datetime.timedelta] = None, location: Optional[azure.mgmt.monitor.v2015_07_01.models._models_py3.MetricAvailabilityLocation] = None, **kwargs)

Variables

time_grain
timedelta

the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc.

retention
timedelta

the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc.

location
<xref:$>(<xref:python-base-namespace>)MetricAvailabilityLocation

Info about where the metric data is stored.