Package com.azure.monitor.query.models
Class MetricAvailability
java.lang.Object
com.azure.monitor.query.models.MetricAvailability
Metric availability specifies the granularity and the retention period for that
granularity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the granularity specifies the aggregation interval for the metric.Returns the retention period for the metric at the specified granularity.
-
Constructor Details
-
MetricAvailability
public MetricAvailability()
-
-
Method Details
-
getRetention
Returns the retention period for the metric at the specified granularity.- Returns:
- the retention period for the metric at the specified granularity.
-
getGranularity
Returns the granularity specifies the aggregation interval for the metric.- Returns:
- the granularity specifies the aggregation interval for the metric.
-