ComputeUsage Interface

Implements

public interface ComputeUsage
extends HasInnerModel<UsageInner>

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

Method Summary

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

Method Details

currentValue

public abstract int currentValue()

Returns:

the current count of the allocated resources in the subscription

limit

public abstract long limit()

Returns:

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

name

public abstract UsageName name()

Returns:

the name of the type of usage

unit

public abstract ComputeUsageUnit unit()

Returns:

the unit of measurement

Applies to