ImportRequest Class

Definition

Import database parameters.

public final class ImportRequest extends ExportRequest
Inheritance
java.lang.Object
ImportRequest

Inherited Members

Constructors

ImportRequest()

Methods

databaseName()

Get the databaseName property: The name of the database to import.

edition()

Get the edition property: 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 -o table ````

```powershell Get-AzSqlServerServiceObjective -Location ````.

maxSizeBytes()

Get the maxSizeBytes property: The maximum size for the newly imported database.

serviceObjectiveName()

Get the serviceObjectiveName property: The name of the service objective to assign to the database.

validate()

Validates the instance.

withDatabaseName(String databaseName)

Set the databaseName property: The name of the database to import.

withEdition(DatabaseEdition edition)

Set the edition property: 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 -o table ````

```powershell Get-AzSqlServerServiceObjective -Location ````.

withMaxSizeBytes(String maxSizeBytes)

Set the maxSizeBytes property: The maximum size for the newly imported database.

withServiceObjectiveName(ServiceObjectiveName serviceObjectiveName)

Set the serviceObjectiveName property: The name of the service objective to assign to the database.

Applies to