public final class ImportRequest extends ExportRequest
| Constructor and Description |
|---|
ImportRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
databaseName()
Get the databaseName property: The name of the database to import.
|
DatabaseEdition |
edition()
Get the edition property: The edition for the database being created.
|
String |
maxSizeBytes()
Get the maxSizeBytes property: The maximum size for the newly imported database.
|
ServiceObjectiveName |
serviceObjectiveName()
Get the serviceObjectiveName property: The name of the service objective to assign to the database.
|
void |
validate()
Validates the instance.
|
ImportRequest |
withDatabaseName(String databaseName)
Set the databaseName property: The name of the database to import.
|
ImportRequest |
withEdition(DatabaseEdition edition)
Set the edition property: The edition for the database being created.
|
ImportRequest |
withMaxSizeBytes(String maxSizeBytes)
Set the maxSizeBytes property: The maximum size for the newly imported database.
|
ImportRequest |
withServiceObjectiveName(ServiceObjectiveName serviceObjectiveName)
Set the serviceObjectiveName property: The name of the service objective to assign to the database.
|
administratorLogin, administratorLoginPassword, authenticationType, storageKey, storageKeyType, storageUri, withAdministratorLogin, withAdministratorLoginPassword, withAuthenticationType, withStorageKey, withStorageKeyType, withStorageUripublic String databaseName()
public ImportRequest withDatabaseName(String databaseName)
databaseName - the databaseName value to set.public DatabaseEdition edition()
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 <location> -o table ````
```powershell Get-AzSqlServerServiceObjective -Location <location> ````.
public ImportRequest withEdition(DatabaseEdition edition)
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 <location> -o table ````
```powershell Get-AzSqlServerServiceObjective -Location <location> ````.
edition - the edition value to set.public ServiceObjectiveName serviceObjectiveName()
public ImportRequest withServiceObjectiveName(ServiceObjectiveName serviceObjectiveName)
serviceObjectiveName - the serviceObjectiveName value to set.public String maxSizeBytes()
public ImportRequest withMaxSizeBytes(String maxSizeBytes)
maxSizeBytes - the maxSizeBytes value to set.public void validate()
validate in class ExportRequestIllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.