IWithImportFromBeta<ParentT>.ImportFrom Method

Definition

Overloads

ImportFrom(String)

Creates a new database from a BACPAC file.

ImportFrom(IStorageAccount, String, String)

Creates a new database from a BACPAC file.

ImportFrom(String)

Creates a new database from a BACPAC file.

public Microsoft.Azure.Management.Sql.Fluent.SqlDatabase.Definition.IWithStorageKey<ParentT> ImportFrom (string storageUri);
abstract member ImportFrom : string -> Microsoft.Azure.Management.Sql.Fluent.SqlDatabase.Definition.IWithStorageKey<'ParentT>
Public Function ImportFrom (storageUri As String) As IWithStorageKey(Of ParentT)

Parameters

storageUri
String

The source URI for the database to be imported.

Returns

Applies to

ImportFrom(IStorageAccount, String, String)

Creates a new database from a BACPAC file.

public Microsoft.Azure.Management.Sql.Fluent.SqlDatabase.Definition.IWithAuthentication<ParentT> ImportFrom (Microsoft.Azure.Management.Storage.Fluent.IStorageAccount storageAccount, string containerName, string fileName);
abstract member ImportFrom : Microsoft.Azure.Management.Storage.Fluent.IStorageAccount * string * string -> Microsoft.Azure.Management.Sql.Fluent.SqlDatabase.Definition.IWithAuthentication<'ParentT>
Public Function ImportFrom (storageAccount As IStorageAccount, containerName As String, fileName As String) As IWithAuthentication(Of ParentT)

Parameters

storageAccount
IStorageAccount

An existing storage account to be used.

containerName
String

The container name within the storage account to use.

fileName
String

The exported database file name.

Returns

Applies to