java.lang.Object
com.azure.resourcemanager.sql.fluent.models.UsageInner

public final class UsageInner extends Object
ARM usage.
  • Constructor Details

    • UsageInner

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

    • id

      public String id()
      Get the id property: Resource ID.
      Returns:
      the id value.
    • name

      public Name name()
      Get the name property: Resource name.
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: Resource type.
      Returns:
      the type value.
    • unit

      public String unit()
      Get the unit property: Usage unit.
      Returns:
      the unit value.
    • currentValue

      public Integer currentValue()
      Get the currentValue property: Usage current value.
      Returns:
      the currentValue value.
    • limit

      public Integer limit()
      Get the limit property: Usage limit.
      Returns:
      the limit value.
    • requestedLimit

      public Integer requestedLimit()
      Get the requestedLimit property: Usage requested limit.
      Returns:
      the requestedLimit value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.