SqlDatabase.DefinitionStages.WithEditionDefaults<ParentT> Interface

Type Parameters

ParentT

the stage of the parent definition to return to after attaching this definition

public interface WithEditionDefaults extends SqlDatabase.DefinitionStages.WithAttachFinal

The SQL Database definition to set the edition default for database.

Method Summary

Modifier and Type Method and Description
SqlDatabase.DefinitionStages.WithEditionDefaults<ParentT> withBasicEdition()

Sets a "Basic" edition for the SQL Database.

SqlDatabase.DefinitionStages.WithEditionDefaults<ParentT> withBasicEdition(SqlDatabaseBasicStorage maxStorageCapacity)

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

SqlDatabase.DefinitionStages.WithEditionDefaults<ParentT> withPremiumEdition(SqlDatabasePremiumServiceObjective serviceObjective)

Sets a "Premium" edition for the SQL Database.

SqlDatabase.DefinitionStages.WithEditionDefaults<ParentT> withPremiumEdition(SqlDatabasePremiumServiceObjective serviceObjective, SqlDatabasePremiumStorage maxStorageCapacity)

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

SqlDatabase.DefinitionStages.WithEditionDefaults<ParentT> withStandardEdition(SqlDatabaseStandardServiceObjective serviceObjective)

Sets a "Standard" edition for the SQL Database.

SqlDatabase.DefinitionStages.WithEditionDefaults<ParentT> withStandardEdition(SqlDatabaseStandardServiceObjective serviceObjective, SqlDatabaseStandardStorage maxStorageCapacity)

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

Inherited Members

Method Details

withBasicEdition

public SqlDatabase.DefinitionStages.WithEditionDefaults withBasicEdition()

Sets a "Basic" edition for the SQL Database.

Returns:

The next stage of the definition

withBasicEdition

public SqlDatabase.DefinitionStages.WithEditionDefaults 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

withPremiumEdition

public SqlDatabase.DefinitionStages.WithEditionDefaults 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 SqlDatabase.DefinitionStages.WithEditionDefaults 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 SqlDatabase.DefinitionStages.WithEditionDefaults 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 SqlDatabase.DefinitionStages.WithEditionDefaults 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