MetricAvailability Class

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

Constructor

MetricAvailability(*, time_grain: timedelta | None = None, retention: timedelta | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
time_grain

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

Default value: None
retention

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

Default value: None

Variables

Name Description
time_grain

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

retention

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