MetricValue Class
- java.
lang. Object - com.
microsoft. azure. management. sql. MetricValue
- com.
public class MetricValue
Represents database metrics.
Method Summary
Modifier and Type | Method and Description |
---|---|
Double |
average()
Get the average value of the metric. |
Double |
count()
Get the number of values for the metric. |
Double |
maximum()
Get the max value of the metric. |
Double |
minimum()
Get the min value of the metric. |
DateTime |
timestamp()
Get the metric timestamp (ISO-8601 format). |
Double |
total()
Get the total value of the metric. |
Method Details
average
public Double average()
Get the average value of the metric.
Returns:
count
public Double count()
Get the number of values for the metric.
Returns:
maximum
public Double maximum()
Get the max value of the metric.
Returns:
minimum
public Double minimum()
Get the min value of the metric.
Returns:
timestamp
public DateTime timestamp()
Get the metric timestamp (ISO-8601 format).
Returns:
total
public Double total()
Get the total value of the metric.
Returns:
Applies to
Azure SDK for Java