Class UsageInner
java.lang.Object
com.azure.resourcemanager.storage.fluent.models.UsageInner
Describes Storage Resource Usage.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the currentValue property: Gets the current count of the allocated resources in the subscription.limit()Get the limit property: Gets the maximum count of the resources that can be allocated in the subscription.name()Get the name property: Gets the name of the type of usage.unit()Get the unit property: Gets the unit of measurement.voidvalidate()Validates the instance.
-
Constructor Details
-
UsageInner
public UsageInner()Creates an instance of UsageInner class.
-
-
Method Details
-
unit
Get the unit property: Gets the unit of measurement.- Returns:
- the unit value.
-
currentValue
Get the currentValue property: Gets the current count of the allocated resources in the subscription.- Returns:
- the currentValue value.
-
limit
Get the limit property: Gets the maximum count of the resources that can be allocated in the subscription.- Returns:
- the limit value.
-
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.
-