ImportRequest Constructors

Definition

Overloads

ImportRequest()

Initializes a new instance of the ImportRequest class.

ImportRequest(StorageKeyType, String, String, String, String, String, DatabaseEdition, ServiceObjectiveName, String, Nullable<AuthenticationType>)

Initializes a new instance of the ImportRequest class.

ImportRequest()

Initializes a new instance of the ImportRequest class.

public ImportRequest ();
Public Sub New ()

Applies to

ImportRequest(StorageKeyType, String, String, String, String, String, DatabaseEdition, ServiceObjectiveName, String, Nullable<AuthenticationType>)

Initializes a new instance of the ImportRequest class.

public ImportRequest (Microsoft.Azure.Management.Sql.Fluent.Models.StorageKeyType storageKeyType, string storageKey, string storageUri, string administratorLogin, string administratorLoginPassword, string databaseName, Microsoft.Azure.Management.Sql.Fluent.Models.DatabaseEdition edition, Microsoft.Azure.Management.Sql.Fluent.Models.ServiceObjectiveName serviceObjectiveName, string maxSizeBytes, Microsoft.Azure.Management.Sql.Fluent.Models.AuthenticationType? authenticationType = default);
new Microsoft.Azure.Management.Sql.Fluent.Models.ImportRequest : Microsoft.Azure.Management.Sql.Fluent.Models.StorageKeyType * string * string * string * string * string * Microsoft.Azure.Management.Sql.Fluent.Models.DatabaseEdition * Microsoft.Azure.Management.Sql.Fluent.Models.ServiceObjectiveName * string * Nullable<Microsoft.Azure.Management.Sql.Fluent.Models.AuthenticationType> -> Microsoft.Azure.Management.Sql.Fluent.Models.ImportRequest
Public Sub New (storageKeyType As StorageKeyType, storageKey As String, storageUri As String, administratorLogin As String, administratorLoginPassword As String, databaseName As String, edition As DatabaseEdition, serviceObjectiveName As ServiceObjectiveName, maxSizeBytes As String, Optional authenticationType As Nullable(Of AuthenticationType) = Nothing)

Parameters

storageKeyType
StorageKeyType

The type of the storage key to use. Possible values include: 'StorageAccessKey', 'SharedAccessKey'

storageKey
String

The storage key to use. If storage key type is SharedAccessKey, it must be preceded with a "?."

storageUri
String

The storage uri to use.

administratorLogin
String

The name of the SQL administrator.

administratorLoginPassword
String

The password of the SQL administrator.

databaseName
String

The name of the database to import.

edition
DatabaseEdition

The edition for the database being created.

         The list of SKUs may vary by region and support offer. To determine
         the SKUs (including the SKU name, tier/edition, family, and
         capacity) that are available to your subscription in an Azure
         region, use the `Capabilities_ListByLocation` REST API or one of
         the following commands:

         ```azurecli
         az sql db list-editions -l &lt;location&gt; -o table
         ````

         ```powershell
         Get-AzSqlServerServiceObjective -Location &lt;location&gt;
         ````
         . Possible values include: 'Web', 'Business', 'Basic', 'Standard',
         'Premium', 'PremiumRS', 'Free', 'Stretch', 'DataWarehouse',
         'System', 'System2', 'GeneralPurpose', 'BusinessCritical',
         'Hyperscale'
serviceObjectiveName
ServiceObjectiveName

The name of the service objective to assign to the database. Possible values include: 'System', 'System0', 'System1', 'System2', 'System3', 'System4', 'System2L', 'System3L', 'System4L', 'Free', 'Basic', 'S0', 'S1', 'S2', 'S3', 'S4', 'S6', 'S7', 'S9', 'S12', 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'PRS1', 'PRS2', 'PRS4', 'PRS6', 'DW100', 'DW200', 'DW300', 'DW400', 'DW500', 'DW600', 'DW1000', 'DW1200', 'DW1000c', 'DW1500', 'DW1500c', 'DW2000', 'DW2000c', 'DW3000', 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c', 'DW6000c', 'DW7500c', 'DW10000c', 'DW15000c', 'DW30000c', 'DS100', 'DS200', 'DS300', 'DS400', 'DS500', 'DS600', 'DS1000', 'DS1200', 'DS1500', 'DS2000', 'ElasticPool'

maxSizeBytes
String

The maximum size for the newly imported database.

authenticationType
Nullable<AuthenticationType>

The authentication type. Possible values include: 'SQL', 'ADPassword'

Applies to