Class MetricValue
java.lang.Object
com.microsoft.azure.management.sql.MetricValue
Represents database metrics.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaverage()
Get the average value of the metric.count()
Get the number of values for the metric.maximum()
Get the max value of the metric.minimum()
Get the min value of the metric.org.joda.time.DateTime
Get the metric timestamp (ISO-8601 format).total()
Get the total value of the metric.
-
Constructor Details
-
MetricValue
public MetricValue()
-
-
Method Details
-
count
Get the number of values for the metric.- Returns:
- the count value
-
average
Get the average value of the metric.- Returns:
- the average value
-
maximum
Get the max value of the metric.- Returns:
- the maximum value
-
minimum
Get the min value of the metric.- Returns:
- the minimum value
-
timestamp
public org.joda.time.DateTime timestamp()Get the metric timestamp (ISO-8601 format).- Returns:
- the timestamp value
-
total
Get the total value of the metric.- Returns:
- the total value
-