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() |
Usage |
name() |
Compute |
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java