MetricAvailability Class
- java.
lang. Object - com.
azure. monitor. query. models. MetricAvailability
- com.
public final class MetricAvailability
Metric availability specifies the granularity and the retention period for that granularity.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| MetricAvailability() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Duration |
getGranularity()
Returns the granularity specifies the aggregation interval for the metric. |
| Duration |
getRetention()
Returns the retention period for the metric at the specified granularity. |
Methods inherited from java.lang.Object
Constructor Details
MetricAvailability
public MetricAvailability()
Method Details
getGranularity
public Duration getGranularity()
Returns the granularity specifies the aggregation interval for the metric.
Returns:
getRetention
public Duration getRetention()
Returns the retention period for the metric at the specified granularity.
Returns: