Class UsageInner
- java.lang.Object
-
- com.azure.resourcemanager.storage.fluent.models.UsageInner
-
public final class UsageInner extends Object
Describes Storage Resource Usage.
-
-
Constructor Summary
Constructors Constructor Description UsageInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegercurrentValue()Get the currentValue property: Gets the current count of the allocated resources in the subscription.Integerlimit()Get the limit property: Gets the maximum count of the resources that can be allocated in the subscription.UsageNamename()Get the name property: Gets the name of the type of usage.UsageUnitunit()Get the unit property: Gets the unit of measurement.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
unit
public UsageUnit unit()
Get the unit property: Gets the unit of measurement.- Returns:
- the unit value.
-
currentValue
public Integer currentValue()
Get the currentValue property: Gets the current count of the allocated resources in the subscription.- Returns:
- the currentValue value.
-
limit
public Integer limit()
Get the limit property: Gets the maximum count of the resources that can be allocated in the subscription.- Returns:
- the limit value.
-
name
public UsageName name()
Get the name property: Gets the name of the type of usage.- Returns:
- the name value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-