Class SkuCapacity

java.lang.Object
com.azure.resourcemanager.webpubsub.models.SkuCapacity

public final class SkuCapacity extends Object
Describes scaling information of a sku.
  • Constructor Details

    • SkuCapacity

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

    • minimum

      public Integer minimum()
      Get the minimum property: The lowest permitted capacity for this resource.
      Returns:
      the minimum value.
    • maximum

      public Integer maximum()
      Get the maximum property: The highest permitted capacity for this resource.
      Returns:
      the maximum value.
    • defaultProperty

      public Integer defaultProperty()
      Get the defaultProperty property: The default capacity.
      Returns:
      the defaultProperty value.
    • allowedValues

      public List<Integer> allowedValues()
      Get the allowedValues property: Allows capacity value list.
      Returns:
      the allowedValues value.
    • scaleType

      public ScaleType scaleType()
      Get the scaleType property: The scale type applicable to the sku.
      Returns:
      the scaleType value.
    • validate

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