SqlDatabase.DefinitionStages.WithImportFromAfterElasticPool<ParentT> Interface

Type Parameters

ParentT

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

public static interface SqlDatabase.DefinitionStages.WithImportFromAfterElasticPool

The SQL Database definition to import a BACPAC file as the source database within an elastic pool.

Method Summary

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

Creates a new database from a BACPAC file.

abstract WithStorageKeyAfterElasticPool<ParentT> importFrom(String storageUri)

Creates a new database from a BACPAC file.

Method Details

importFrom

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