ServerMetric Interface
public interface ServerMetric extends HasInner,HasInner
An immutable client-side representation of an Azure SQL ServerMetric.
Method Summary
Modifier and Type | Method and Description |
---|---|
double | currentValue() |
String | displayName() |
double | limit() |
String | name() |
DateTime | nextResetTime() |
String | resourceName() |
String | unit() |
Inherited Members
Method Details
currentValue
public double currentValue()
Returns:
the current value of the metric
displayName
public String displayName()
Returns:
the metric display name
limit
public double limit()
Returns:
the current limit of the metric
name
public String name()
Returns:
Name of the server usage metric
nextResetTime
public DateTime nextResetTime()
Returns:
the next reset time for the metric (ISO8601 format)
resourceName
public String resourceName()
Returns:
the name of the resource
unit
public String unit()
Returns:
the units of the metric
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java