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

ComputeUsage Interface

public interface ComputeUsage extends HasInner

An immutable client-side representation of an Azure compute resource usage info object.

Method Summary

Modifier and Type Method and Description
int currentValue()
long limit()
UsageName name()
ComputeUsageUnit unit()

Inherited Members

Method Details

currentValue

public int currentValue()

Returns:

the current count of the allocated resources in the subscription

limit

public long limit()

Returns:

the maximum count of the resources that can be allocated in the subscription

name

public UsageName name()

Returns:

the name of the type of usage

unit

public ComputeUsageUnit unit()

Returns:

the unit of measurement

Applies to