java.lang.Object
com.microsoft.azure.management.containerregistry.RegistryUsage

public class RegistryUsage extends Object
The quota usage for a container registry.
  • Constructor Details

    • RegistryUsage

      public RegistryUsage()
  • Method Details

    • name

      public String name()
      Get the name of the usage.
      Returns:
      the name value
    • withName

      public RegistryUsage withName(String name)
      Set the name of the usage.
      Parameters:
      name - the name value to set
      Returns:
      the RegistryUsage object itself.
    • limit

      public Long limit()
      Get the limit of the usage.
      Returns:
      the limit value
    • withLimit

      public RegistryUsage withLimit(Long limit)
      Set the limit of the usage.
      Parameters:
      limit - the limit value to set
      Returns:
      the RegistryUsage object itself.
    • currentValue

      public Long currentValue()
      Get the current value of the usage.
      Returns:
      the currentValue value
    • withCurrentValue

      public RegistryUsage withCurrentValue(Long currentValue)
      Set the current value of the usage.
      Parameters:
      currentValue - the currentValue value to set
      Returns:
      the RegistryUsage object itself.
    • unit

      public RegistryUsageUnit unit()
      Get the unit of measurement. Possible values include: 'Count', 'Bytes'.
      Returns:
      the unit value
    • withUnit

      public RegistryUsage withUnit(RegistryUsageUnit unit)
      Set the unit of measurement. Possible values include: 'Count', 'Bytes'.
      Parameters:
      unit - the unit value to set
      Returns:
      the RegistryUsage object itself.