Interface SqlDatabaseOperations.DefinitionStages.WithImportFrom
- All Known Subinterfaces:
SqlDatabaseOperations.DefinitionStages.Blank,SqlDatabaseOperations.DefinitionStages.WithAllDifferentOptions,SqlDatabaseOperations.SqlDatabaseOperationsDefinition
- Enclosing interface:
SqlDatabaseOperations.DefinitionStages
public static interface SqlDatabaseOperations.DefinitionStages.WithImportFrom
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
SqlDatabaseOperations.DefinitionStages.WithAuthentication 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.
-