ServerMetric Interface
Implements
HasInner<com.microsoft.azure.management.sql.implementation.ServerUsageInner>
public interface ServerMetric
extends HasInner<com.microsoft.azure.management.sql.implementation.ServerUsageInner>
An immutable client-side representation of an Azure SQL ServerMetric.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för