Interface ServerUsage

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<ServerUsageInner>

public interface ServerUsage extends com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<ServerUsageInner>
An immutable client-side representation of an Azure SQL server usage metric.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Gets the current value of the metric.
    Gets the metric display name.
    double
    Gets the current limit of the metric.
    Gets name of the server usage metric.
    Gets the next reset time for the metric.
    Gets the name of the resource.
    Gets the units of the metric.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel
  • Method Details

    • name

      String name()
      Gets name of the server usage metric.
      Returns:
      Name of the server usage metric
    • resourceName

      String resourceName()
      Gets the name of the resource.
      Returns:
      the name of the resource
    • displayName

      String displayName()
      Gets the metric display name.
      Returns:
      the metric display name
    • currentValue

      double currentValue()
      Gets the current value of the metric.
      Returns:
      the current value of the metric
    • limit

      double limit()
      Gets the current limit of the metric.
      Returns:
      the current limit of the metric
    • unit

      String unit()
      Gets the units of the metric.
      Returns:
      the units of the metric
    • nextResetTime

      OffsetDateTime nextResetTime()
      Gets the next reset time for the metric.
      Returns:
      the next reset time for the metric (ISO8601 format)