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:
displayName
public abstract String displayName()
Gets the metric display name.
Returns:
limit
public abstract double limit()
Gets the current limit of the metric.
Returns:
name
public abstract String name()
Gets name of the server usage metric.
Returns:
unit
public abstract String unit()
Gets the units of the metric.
Returns:
Applies to
Azure SDK for Java