ServerUsage Interface
Implements
public interface ServerUsage
extends HasInnerModel<ServerUsageInner>
An immutable client-side representation of an Azure SQL server usage metric.
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
Offset |
nextResetTime()
Gets the next reset time for the metric. |
| abstract String |
resourceName()
Gets the name of the resource. |
| 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:
nextResetTime
public abstract OffsetDateTime nextResetTime()
Gets the next reset time for the metric.
Returns:
resourceName
public abstract String resourceName()
Gets the name of the resource.
Returns:
unit
public abstract String unit()
Gets the units of the metric.
Returns: