java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.Sku

public final class Sku extends Object
The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate.
  • Constructor Details

    • Sku

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

    • name

      public SkuName name()
      Get the name property: The name of this SKU.
      Returns:
      the name value.
    • withName

      public Sku withName(SkuName name)
      Set the name property: The name of this SKU.
      Parameters:
      name - the name value to set.
      Returns:
      the Sku object itself.
    • capacity

      public int capacity()
      Get the capacity property: The capacity of the sku. For Gen1 environments, this value can be changed to support scale out of environments after they have been created.
      Returns:
      the capacity value.
    • withCapacity

      public Sku withCapacity(int capacity)
      Set the capacity property: The capacity of the sku. For Gen1 environments, this value can be changed to support scale out of environments after they have been created.
      Parameters:
      capacity - the capacity value to set.
      Returns:
      the Sku object itself.
    • validate

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