Interface ServerMetric

All Superinterfaces:
HasInnerModel<ServerUsageInner>

public interface ServerMetric extends HasInnerModel<ServerUsageInner>
An immutable client-side representation of an Azure SQL ServerMetric.
  • 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 units of the metric.

    Methods inherited from interface HasInnerModel

    innerModel
  • Method Details

    • name

      String name()
      Gets name of the server usage metric.
      Returns:
      Name of the server usage metric
    • 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