ServerUsage Interface
Implements
HasInner<com.microsoft.azure.management.sql.implementation.ServerUsageInner>
public interface ServerUsage
extends HasInner<com.microsoft.azure.management.sql.implementation.ServerUsageInner>
An immutable client-side representation of an Azure SQL server usage metric.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract double | currentValue() |
abstract java.lang.String | displayName() |
abstract double | limit() |
abstract java.lang.String | name() |
abstract org.joda.time.DateTime | nextResetTime() |
abstract java.lang.String | resourceName() |
abstract java.lang.String | unit() |
Method Details
currentValue
public abstract double currentValue()
Returns:
the current value of the metric
displayName
public abstract String displayName()
Returns:
the metric display name
limit
public abstract double limit()
Returns:
the current limit of the metric
name
public abstract String name()
Returns:
Name of the server usage metric
nextResetTime
public abstract DateTime nextResetTime()
Returns:
the next reset time for the metric (ISO8601 format)
resourceName
public abstract String resourceName()
Returns:
the name of the resource
unit
public abstract 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for