Interface ServerMetric
-
- All Superinterfaces:
HasInnerModel<ServerUsageInner>
public interface ServerMetric extends HasInnerModel<ServerUsageInner>
An immutable client-side representation of an Azure SQL ServerMetric.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublecurrentValue()StringdisplayName()doublelimit()Stringname()OffsetDateTimenextResetTime()StringresourceName()Stringunit()-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
-
-
-
Method Detail
-
name
String 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
OffsetDateTime nextResetTime()
- Returns:
- the next reset time for the metric (ISO8601 format)
-
-