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()
Gets the current count of the allocated resources in the subscription. |
abstract long |
limit()
Gets the maximum count of the resources that can be allocated in the subscription. |
abstract
Usage |
name()
Gets the name of the type of usage. |
abstract
Compute |
unit()
Gets the unit of measurement. |
Method Details
currentValue
public abstract int currentValue()
Gets the current count of the allocated resources in the subscription.
Returns:
limit
public abstract long limit()
Gets the maximum count of the resources that can be allocated in the subscription.
Returns:
name
public abstract UsageName name()
Gets the name of the type of usage.
Returns:
unit
public abstract ComputeUsageUnit unit()
Gets the unit of measurement.
Returns:
Applies to
Azure SDK for Java