SqlDatabaseOperations.DefinitionStages.WithImportFromAfterElasticPool Interface

public static interface SqlDatabaseOperations.DefinitionStages.WithImportFromAfterElasticPool

The SQL Database definition to import a BACPAC file as the source database.

Method Summary

Modifier and Type Method and Description
abstract WithAuthenticationAfterElasticPool importFrom(StorageAccount storageAccount, String containerName, String fileName)

Creates a new database from a BACPAC file.

abstract WithStorageKeyAfterElasticPool importFrom(String storageUri)

Creates a new database from a BACPAC file.

Method Details

importFrom

public abstract SqlDatabaseOperations.DefinitionStages.WithAuthenticationAfterElasticPool importFrom(StorageAccount storageAccount, String containerName, String fileName)

Creates a new database from a BACPAC file.

Parameters:

storageAccount - an existing storage account to be used
containerName - the container name within the storage account to use
fileName - the exported database file name

Returns:

The next stage of the definition.

importFrom

public abstract SqlDatabaseOperations.DefinitionStages.WithStorageKeyAfterElasticPool importFrom(String storageUri)

Creates a new database from a BACPAC file.

Parameters:

storageUri - the source URI for the database to be imported

Returns:

The next stage of the definition.

Applies to