Class AzureResourceSkuInner

java.lang.Object
com.azure.resourcemanager.kusto.fluent.models.AzureResourceSkuInner

public final class AzureResourceSkuInner extends Object
Azure resource SKU definition.
  • Constructor Details

    • AzureResourceSkuInner

      public AzureResourceSkuInner()
  • Method Details

    • resourceType

      public String resourceType()
      Get the resourceType property: Resource Namespace and Type.
      Returns:
      the resourceType value.
    • withResourceType

      public AzureResourceSkuInner withResourceType(String resourceType)
      Set the resourceType property: Resource Namespace and Type.
      Parameters:
      resourceType - the resourceType value to set.
      Returns:
      the AzureResourceSkuInner object itself.
    • sku

      public AzureSku sku()
      Get the sku property: The SKU details.
      Returns:
      the sku value.
    • withSku

      public AzureResourceSkuInner withSku(AzureSku sku)
      Set the sku property: The SKU details.
      Parameters:
      sku - the sku value to set.
      Returns:
      the AzureResourceSkuInner object itself.
    • capacity

      public AzureCapacity capacity()
      Get the capacity property: The number of instances of the cluster.
      Returns:
      the capacity value.
    • withCapacity

      public AzureResourceSkuInner withCapacity(AzureCapacity capacity)
      Set the capacity property: The number of instances of the cluster.
      Parameters:
      capacity - the capacity value to set.
      Returns:
      the AzureResourceSkuInner object itself.
    • validate

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