Interface SqlDatabase.DefinitionStages.WithImportFrom<ParentT>
- Type Parameters:
ParentT- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
SqlDatabase.DefinitionStages.Blank<ParentT>,SqlDatabase.DefinitionStages.WithAllDifferentOptions<ParentT>,SqlDatabase.SqlDatabaseDefinition<ParentT>
- Enclosing interface:
- SqlDatabase.DefinitionStages
public static interface SqlDatabase.DefinitionStages.WithImportFrom<ParentT>
The SQL Database definition to import a BACPAC file as the source database.
-
Method Summary
Modifier and TypeMethodDescriptionimportFrom(StorageAccount storageAccount, String containerName, String fileName) Creates a new database from a BACPAC file.importFrom(String storageUri) Creates a new database from a BACPAC file.
-
Method Details
-
importFrom
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.
-
importFrom
SqlDatabase.DefinitionStages.WithAuthentication<ParentT> importFrom(StorageAccount storageAccount, String containerName, String fileName) Creates a new database from a BACPAC file.- Parameters:
storageAccount- an existing storage account to be usedcontainerName- the container name within the storage account to usefileName- the exported database file name- Returns:
- The next stage of the definition.
-