Interface UsageMetric


public interface UsageMetric
An immutable client-side representation of UsageMetric.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the currentValue property: The current value of the metric.
    Gets the inner com.azure.resourcemanager.loganalytics.fluent.models.UsageMetricInner object.
    Gets the limit property: The quota limit for the metric.
    Gets the name property: The name of the metric.
    Gets the nextResetTime property: The time that the metric's value will reset.
    Gets the quotaPeriod property: The quota period that determines the length of time between value resets.
    Gets the unit property: The units used for the metric.
  • Method Details

    • name

      MetricName name()
      Gets the name property: The name of the metric.
      Returns:
      the name value.
    • unit

      String unit()
      Gets the unit property: The units used for the metric.
      Returns:
      the unit value.
    • currentValue

      Double currentValue()
      Gets the currentValue property: The current value of the metric.
      Returns:
      the currentValue value.
    • limit

      Double limit()
      Gets the limit property: The quota limit for the metric.
      Returns:
      the limit value.
    • nextResetTime

      OffsetDateTime nextResetTime()
      Gets the nextResetTime property: The time that the metric's value will reset.
      Returns:
      the nextResetTime value.
    • quotaPeriod

      String quotaPeriod()
      Gets the quotaPeriod property: The quota period that determines the length of time between value resets.
      Returns:
      the quotaPeriod value.
    • innerModel

      UsageMetricInner innerModel()
      Gets the inner com.azure.resourcemanager.loganalytics.fluent.models.UsageMetricInner object.
      Returns:
      the inner object.