Class MetricAvailability

java.lang.Object
com.azure.monitor.query.models.MetricAvailability

public final class MetricAvailability extends Object
Metric availability specifies the granularity and the retention period for that granularity.
  • Constructor Details

    • MetricAvailability

      public MetricAvailability()
  • Method Details

    • getRetention

      public Duration getRetention()
      Returns the retention period for the metric at the specified granularity.
      Returns:
      the retention period for the metric at the specified granularity.
    • getGranularity

      public Duration getGranularity()
      Returns the granularity specifies the aggregation interval for the metric.
      Returns:
      the granularity specifies the aggregation interval for the metric.