SqlDatabase.UpdateStages.WithEdition Interface

public static interface SqlDatabase.UpdateStages.WithEdition

The SQL Database definition to set the edition for database.

Method Summary

Modifier and Type Method and Description
abstract Update withBasicEdition()

Sets a "Basic" edition for the SQL Database.

abstract Update withBasicEdition(SqlDatabaseBasicStorage maxStorageCapacity)

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

abstract Update withPremiumEdition(SqlDatabasePremiumServiceObjective serviceObjective)

Sets a "Premium" edition for the SQL Database.

abstract Update withPremiumEdition(SqlDatabasePremiumServiceObjective serviceObjective, SqlDatabasePremiumStorage maxStorageCapacity)

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

abstract Update withSku(DatabaseSku sku)

Sets the sku for the SQL Database.

abstract Update withSku(Sku sku)

Sets the sku for the SQL Database.

abstract Update withStandardEdition(SqlDatabaseStandardServiceObjective serviceObjective)

Sets a "Standard" edition for the SQL Database.

abstract Update withStandardEdition(SqlDatabaseStandardServiceObjective serviceObjective, SqlDatabaseStandardStorage maxStorageCapacity)

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

Method Details

withBasicEdition

public abstract SqlDatabase.Update withBasicEdition()

Sets a "Basic" edition for the SQL Database.

Returns:

The next stage of the definition

withBasicEdition

public abstract 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

withPremiumEdition

public abstract 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

public abstract 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

withSku

public abstract SqlDatabase.Update withSku(DatabaseSku sku)

Sets the sku for the SQL Database.

Parameters:

sku - sku to be set for database

Returns:

The next stage of the update

withSku

public abstract 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 getCapabilitiesByRegion(Region region)

Returns:

The next stage of the update

withStandardEdition

public abstract 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

public abstract 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

Applies to