Interface DatabaseMetric
public interface DatabaseMetric
An immutable client-side representation of an Azure SQL DatabaseMetric.
-
Method Details
-
resourceName
String resourceName()Gets the name of the resource.- Returns:
- the name of the resource
-
displayName
String displayName()Gets the metric display name.- Returns:
- the metric display name
-
currentValue
double currentValue()Gets the current value of the metric.- Returns:
- the current value of the metric
-
limit
double limit()Gets the current limit of the metric.- Returns:
- the current limit of the metric
-
unit
String unit()Gets the units of the metric.- Returns:
- the units of the metric
-
nextResetTime
OffsetDateTime nextResetTime()Gets the next reset time for the metric.- Returns:
- the next reset time for the metric (ISO8601 format)
-