Interface SqlDatabaseOperations.DefinitionStages.WithImportFrom
-
- All Known Subinterfaces:
SqlDatabaseOperations.DefinitionStages.Blank,SqlDatabaseOperations.DefinitionStages.WithAllDifferentOptions,SqlDatabaseOperations.SqlDatabaseOperationsDefinition
- Enclosing interface:
- SqlDatabaseOperations.DefinitionStages
public static interface SqlDatabaseOperations.DefinitionStages.WithImportFromThe SQL Database definition to import a BACPAC file as the source database.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlDatabaseOperations.DefinitionStages.WithAuthenticationimportFrom(StorageAccount storageAccount, String containerName, String fileName)Creates a new database from a BACPAC file.SqlDatabaseOperations.DefinitionStages.WithStorageKeyimportFrom(String storageUri)Creates a new database from a BACPAC file.
-
-
-
Method Detail
-
importFrom
SqlDatabaseOperations.DefinitionStages.WithStorageKey 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.
-
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.
-
-