Class UsageInner


  • public final class UsageInner
    extends Object
    Describes Storage Resource Usage.
    • Constructor Detail

      • UsageInner

        public UsageInner()
    • 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.