MetricValue Class

  • java.lang.Object
    • com.microsoft.azure.management.sql.MetricValue

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:

the average value

count

public Double count()

Get the number of values for the metric.

Returns:

the count value

maximum

public Double maximum()

Get the max value of the metric.

Returns:

the maximum value

minimum

public Double minimum()

Get the min value of the metric.

Returns:

the minimum value

timestamp

public DateTime timestamp()

Get the metric timestamp (ISO-8601 format).

Returns:

the timestamp value

total

public Double total()

Get the total value of the metric.

Returns:

the total value

Applies to