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
    Creates an instance of UsageInner class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the currentValue property: Gets the current count of the allocated resources in the subscription.
    Get the limit property: Gets the maximum count of the resources that can be allocated in the subscription.
    Get the name property: Gets the name of the type of usage.
    Get the unit property: Gets the unit of measurement.
    void
    Validates the instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UsageInner

      public UsageInner()
      Creates an instance of UsageInner class.
  • Method Details

    • 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.