Class ResourceUsageInner
java.lang.Object
com.azure.resourcemanager.storagecache.fluent.models.ResourceUsageInner
The usage and limit (quota) for a resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the currentValue property: The current usage of this resource.limit()
Get the limit property: The limit (quota) for this resource.name()
Get the name property: Naming information for this resource type.unit()
Get the unit property: Unit that the limit and usages are expressed in, such as 'Count'.void
validate()
Validates the instance.
-
Constructor Details
-
ResourceUsageInner
public ResourceUsageInner()
-
-
Method Details
-
limit
Get the limit property: The limit (quota) for this resource.- Returns:
- the limit value.
-
unit
Get the unit property: Unit that the limit and usages are expressed in, such as 'Count'.- Returns:
- the unit value.
-
currentValue
Get the currentValue property: The current usage of this resource.- Returns:
- the currentValue value.
-
name
Get the name property: Naming information for this resource type.- Returns:
- the name value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-