مشاركة عبر


ServerUsage Interface

Implements

public interface ServerUsage
extends HasInnerModel<ServerUsageInner>

An immutable client-side representation of an Azure SQL server usage metric.

Method Summary

Modifier and Type Method and Description
abstract double currentValue()

Gets the current value of the metric.

abstract String displayName()

Gets the metric display name.

abstract double limit()

Gets the current limit of the metric.

abstract String name()

Gets name of the server usage metric.

abstract OffsetDateTime nextResetTime()

Gets the next reset time for the metric.

abstract String resourceName()

Gets the name of the resource.

abstract String unit()

Gets the units of the metric.

Method Details

currentValue

public abstract double currentValue()

Gets the current value of the metric.

Returns:

the current value of the metric

displayName

public abstract String displayName()

Gets the metric display name.

Returns:

the metric display name

limit

public abstract double limit()

Gets the current limit of the metric.

Returns:

the current limit of the metric

name

public abstract String name()

Gets name of the server usage metric.

Returns:

Name of the server usage metric

nextResetTime

public abstract OffsetDateTime nextResetTime()

Gets the next reset time for the metric.

Returns:

the next reset time for the metric (ISO8601 format)

resourceName

public abstract String resourceName()

Gets the name of the resource.

Returns:

the name of the resource

unit

public abstract String unit()

Gets the units of the metric.

Returns:

the units of the metric

Applies to