Class QueryMetricProperties

java.lang.Object
com.azure.resourcemanager.sql.models.QueryMetricProperties

public final class QueryMetricProperties extends Object
Properties of a topquery metric in one interval.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of QueryMetricProperties class.
  • Method Summary

    Modifier and Type
    Method
    Description
    avg()
    Get the avg property: Metric value when avg() aggregate function is used over the interval.
    Get the displayName property: The UI appropriate name for the metric.
    max()
    Get the max property: Metric value when max() aggregate function is used over the interval.
    min()
    Get the min property: Metric value when min() aggregate function is used over the interval.
    Get the name property: The name information for the metric.
    Get the stdev property: Metric value when stdev aggregate function is used over the interval.
    sum()
    Get the sum property: Metric value when sum() aggregate function is used over the interval.
    Get the unit property: The unit of the metric.
    void
    Validates the instance.
    Get the value property: The value of the metric.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • QueryMetricProperties

      public QueryMetricProperties()
      Creates an instance of QueryMetricProperties class.
  • Method Details

    • name

      public String name()
      Get the name property: The name information for the metric.
      Returns:
      the name value.
    • displayName

      public String displayName()
      Get the displayName property: The UI appropriate name for the metric.
      Returns:
      the displayName value.
    • unit

      public QueryMetricUnitType unit()
      Get the unit property: The unit of the metric.
      Returns:
      the unit value.
    • value

      public Double value()
      Get the value property: The value of the metric.
      Returns:
      the value value.
    • min

      public Double min()
      Get the min property: Metric value when min() aggregate function is used over the interval.
      Returns:
      the min value.
    • max

      public Double max()
      Get the max property: Metric value when max() aggregate function is used over the interval.
      Returns:
      the max value.
    • avg

      public Double avg()
      Get the avg property: Metric value when avg() aggregate function is used over the interval.
      Returns:
      the avg value.
    • sum

      public Double sum()
      Get the sum property: Metric value when sum() aggregate function is used over the interval.
      Returns:
      the sum value.
    • stdev

      public Double stdev()
      Get the stdev property: Metric value when stdev aggregate function is used over the interval.
      Returns:
      the stdev value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.