通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServerMetric Interface

Implements

public interface ServerMetric
extends HasInnerModel<ServerUsageInner>

An immutable client-side representation of an Azure SQL ServerMetric.

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 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

unit

public abstract String unit()

Gets the units of the metric.

Returns:

the units of the metric

Applies to