SqlDatabase.UpdateStages.WithEdition Interface

public interface WithEdition

The SQL Database definition to set the edition for database.

Method Summary

Modifier and Type Method and Description
SqlDatabase.Update withBasicEdition()

Sets a "Basic" edition for the SQL Database.

SqlDatabase.Update withBasicEdition(SqlDatabaseBasicStorage maxStorageCapacity)

Sets a "Basic" edition and maximum storage capacity for the SQL Database.

SqlDatabase.Update withEdition(DatabaseEdition edition)

Sets the edition for the SQL Database.

SqlDatabase.Update withEdition(DatabaseEditions edition)

Sets the edition for the SQL Database.

SqlDatabase.Update withPremiumEdition(SqlDatabasePremiumServiceObjective serviceObjective)

Sets a "Premium" edition for the SQL Database.

SqlDatabase.Update withPremiumEdition(SqlDatabasePremiumServiceObjective serviceObjective, SqlDatabasePremiumStorage maxStorageCapacity)

Sets a "Premium" edition and maximum storage capacity for the SQL Database.

SqlDatabase.Update withStandardEdition(SqlDatabaseStandardServiceObjective serviceObjective)

Sets a "Standard" edition for the SQL Database.

SqlDatabase.Update withStandardEdition(SqlDatabaseStandardServiceObjective serviceObjective, SqlDatabaseStandardStorage maxStorageCapacity)

Sets a "Standard" edition and maximum storage capacity for the SQL Database.

Method Details

withBasicEdition

public Update withBasicEdition()

Sets a "Basic" edition for the SQL Database.

Returns:

The next stage of the definition

withBasicEdition

public Update withBasicEdition(SqlDatabaseBasicStorage maxStorageCapacity)

Sets a "Basic" edition and maximum storage capacity for the SQL Database.

Parameters:

maxStorageCapacity - the max storage capacity

Returns:

The next stage of the definition

withEdition

public Update withEdition(DatabaseEdition edition)

Sets the edition for the SQL Database.

Parameters:

edition - edition to be set for database

Returns:

The next stage of the update.

withEdition

public Update withEdition(DatabaseEditions edition)

Sets the edition for the SQL Database.

Parameters:

edition - edition to be set for database

Returns:

The next stage of the update.

withPremiumEdition

public 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

public 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

withStandardEdition

public 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

public 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

Applies to