Class SqlManagedInstanceSku

java.lang.Object
com.azure.resourcemanager.azurearcdata.models.SqlManagedInstanceSku

public final class SqlManagedInstanceSku extends Object
The resource model definition representing SKU for Azure Managed Instance - Azure Arc.
  • Constructor Details

    • SqlManagedInstanceSku

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

    • name

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

      public SqlManagedInstanceSku withName(String name)
      Set the name property: The name of the SKU.
      Parameters:
      name - the name value to set.
      Returns:
      the SqlManagedInstanceSku object itself.
    • tier

      Get the tier property: The pricing tier for the instance.
      Returns:
      the tier value.
    • withTier

      Set the tier property: The pricing tier for the instance.
      Parameters:
      tier - the tier value to set.
      Returns:
      the SqlManagedInstanceSku object itself.
    • dev

      public Boolean dev()
      Get the dev property: Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
      Returns:
      the dev value.
    • withDev

      public SqlManagedInstanceSku withDev(Boolean dev)
      Set the dev property: Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
      Parameters:
      dev - the dev value to set.
      Returns:
      the SqlManagedInstanceSku object itself.
    • size

      public String size()
      Get the size property: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
      Returns:
      the size value.
    • withSize

      public SqlManagedInstanceSku withSize(String size)
      Set the size property: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
      Parameters:
      size - the size value to set.
      Returns:
      the SqlManagedInstanceSku object itself.
    • family

      public String family()
      Get the family property: The family property.
      Returns:
      the family value.
    • withFamily

      public SqlManagedInstanceSku withFamily(String family)
      Set the family property: The family property.
      Parameters:
      family - the family value to set.
      Returns:
      the SqlManagedInstanceSku object itself.
    • capacity

      public Integer capacity()
      Get the capacity property: The capacity property.
      Returns:
      the capacity value.
    • withCapacity

      public SqlManagedInstanceSku withCapacity(Integer capacity)
      Set the capacity property: The capacity property.
      Parameters:
      capacity - the capacity value to set.
      Returns:
      the SqlManagedInstanceSku object itself.
    • validate

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