ServerMetric Interface

Implements

public interface ServerMetric
extends HasInnerModel<ServerUsageInner>

An immutable client-side representation of an Azure SQL ServerMetric.

Method Summary

Modifier and Type Method and Description
abstract double currentValue()

Gets the current value of the metric.

abstract String displayName()

Gets the metric display name.

abstract double limit()

Gets the current limit of the metric.

abstract String name()

Gets name of the server usage metric.

abstract String unit()

Gets the units of the metric.

Method Details

currentValue

public abstract double currentValue()

Gets the current value of the metric.

Returns:

the current value of the metric

displayName

public abstract String displayName()

Gets the metric display name.

Returns:

the metric display name

limit

public abstract double limit()

Gets the current limit of the metric.

Returns:

the current limit of the metric

name

public abstract String name()

Gets name of the server usage metric.

Returns:

Name of the server usage metric

unit

public abstract String unit()

Gets the units of the metric.

Returns:

the units of the metric

Applies to