Interface ServerMetric
- All Superinterfaces:
HasInner<com.microsoft.azure.management.sql.implementation.ServerUsageInner>
@Beta(V1_7_0)
public interface ServerMetric
extends HasInner<com.microsoft.azure.management.sql.implementation.ServerUsageInner>
An immutable client-side representation of an Azure SQL ServerMetric.
-
Method Details
-
name
- Returns:
- Name of the server usage metric
-
resourceName
String resourceName()- Returns:
- the name of the resource
-
displayName
String displayName()- Returns:
- the metric display name
-
currentValue
double currentValue()- Returns:
- the current value of the metric
-
limit
double limit()- Returns:
- the current limit of the metric
-
unit
String unit()- Returns:
- the units of the metric
-
nextResetTime
org.joda.time.DateTime nextResetTime()- Returns:
- the next reset time for the metric (ISO8601 format)
-