Interface SqlDatabase.UpdateStages.WithEdition

All Known Subinterfaces:
SqlDatabase.Update
Enclosing interface:
SqlDatabase.UpdateStages

public static interface SqlDatabase.UpdateStages.WithEdition
The SQL Database definition to set the edition for database.
  • Method Details

    • withSku

      Sets the sku for the SQL Database.
      Parameters:
      sku - sku to be set for database
      Returns:
      The next stage of the update
    • withSku

      SqlDatabase.Update withSku(Sku sku)
      Sets the sku for the SQL Database.
      Parameters:
      sku - sku/edition to be set for database, all possible capabilities could be found by SqlServers.getCapabilitiesByRegion(Region)
      Returns:
      The next stage of the update
    • withBasicEdition

      SqlDatabase.Update withBasicEdition()
      Sets a "Basic" edition for the SQL Database.
      Returns:
      The next stage of the definition
    • withBasicEdition

      SqlDatabase.Update withBasicEdition(SqlDatabaseBasicStorage maxStorageCapacity)
      Sets a "Basic" edition and maximum storage capacity for the SQL Database.
      Parameters:
      maxStorageCapacity - the maximum storage capacity
      Returns:
      The next stage of the definition
    • withStandardEdition

      SqlDatabase.Update withStandardEdition(SqlDatabaseStandardServiceObjective serviceObjective)
      Sets a "Standard" edition for the SQL Database.
      Parameters:
      serviceObjective - edition to be set for database
      Returns:
      The next stage of the definition
    • withStandardEdition

      SqlDatabase.Update withStandardEdition(SqlDatabaseStandardServiceObjective serviceObjective, SqlDatabaseStandardStorage maxStorageCapacity)
      Sets a "Standard" edition and maximum storage capacity for the SQL Database.
      Parameters:
      serviceObjective - edition to be set for database
      maxStorageCapacity - edition to be set for database
      Returns:
      The next stage of the definition
    • withPremiumEdition

      SqlDatabase.Update withPremiumEdition(SqlDatabasePremiumServiceObjective serviceObjective)
      Sets a "Premium" edition for the SQL Database.
      Parameters:
      serviceObjective - edition to be set for database
      Returns:
      The next stage of the definition
    • withPremiumEdition

      SqlDatabase.Update withPremiumEdition(SqlDatabasePremiumServiceObjective serviceObjective, SqlDatabasePremiumStorage maxStorageCapacity)
      Sets a "Premium" edition and maximum storage capacity for the SQL Database.
      Parameters:
      serviceObjective - edition to be set for database
      maxStorageCapacity - edition to be set for database
      Returns:
      The next stage of the definition