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