DatabasesClient Interface

public interface DatabasesClient

An instance of this class provides access to all the operations defined in DatabasesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<DatabaseInner>,DatabaseInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, DatabaseInner parameters)

Creates a new database or updates an existing database.

abstract SyncPoller<PollResult<DatabaseInner>,DatabaseInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, DatabaseInner parameters, Context context)

Creates a new database or updates an existing database.

abstract PollerFlux<PollResult<DatabaseInner>,DatabaseInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, DatabaseInner parameters)

Creates a new database or updates an existing database.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String databaseName)

Deletes the database.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String databaseName, Context context)

Deletes the database.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String serverName, String databaseName)

Deletes the database.

abstract SyncPoller<PollResult<ImportExportOperationResultInner>,ImportExportOperationResultInner> beginExport(String resourceGroupName, String serverName, String databaseName, ExportDatabaseDefinition parameters)

Exports a database.

abstract SyncPoller<PollResult<ImportExportOperationResultInner>,ImportExportOperationResultInner> beginExport(String resourceGroupName, String serverName, String databaseName, ExportDatabaseDefinition parameters, Context context)

Exports a database.

abstract PollerFlux<PollResult<ImportExportOperationResultInner>,ImportExportOperationResultInner> beginExportAsync(String resourceGroupName, String serverName, String databaseName, ExportDatabaseDefinition parameters)

Exports a database.

abstract SyncPoller<PollResult<Void>,Void> beginFailover(String resourceGroupName, String serverName, String databaseName)

Failovers a database.

abstract SyncPoller<PollResult<Void>,Void> beginFailover(String resourceGroupName, String serverName, String databaseName, ReplicaType replicaType, Context context)

Failovers a database.

abstract PollerFlux<PollResult<Void>,Void> beginFailoverAsync(String resourceGroupName, String serverName, String databaseName)

Failovers a database.

abstract PollerFlux<PollResult<Void>,Void> beginFailoverAsync(String resourceGroupName, String serverName, String databaseName, ReplicaType replicaType)

Failovers a database.

abstract SyncPoller<PollResult<ImportExportOperationResultInner>,ImportExportOperationResultInner> beginImportMethod(String resourceGroupName, String serverName, String databaseName, ImportExistingDatabaseDefinition parameters)

Imports a bacpac into a new database.

abstract SyncPoller<PollResult<ImportExportOperationResultInner>,ImportExportOperationResultInner> beginImportMethod(String resourceGroupName, String serverName, String databaseName, ImportExistingDatabaseDefinition parameters, Context context)

Imports a bacpac into a new database.

abstract PollerFlux<PollResult<ImportExportOperationResultInner>,ImportExportOperationResultInner> beginImportMethodAsync(String resourceGroupName, String serverName, String databaseName, ImportExistingDatabaseDefinition parameters)

Imports a bacpac into a new database.

abstract SyncPoller<PollResult<DatabaseInner>,DatabaseInner> beginPause(String resourceGroupName, String serverName, String databaseName)

Pauses a database.

abstract SyncPoller<PollResult<DatabaseInner>,DatabaseInner> beginPause(String resourceGroupName, String serverName, String databaseName, Context context)

Pauses a database.

abstract PollerFlux<PollResult<DatabaseInner>,DatabaseInner> beginPauseAsync(String resourceGroupName, String serverName, String databaseName)

Pauses a database.

abstract SyncPoller<PollResult<DatabaseInner>,DatabaseInner> beginResume(String resourceGroupName, String serverName, String databaseName)

Resumes a database.

abstract SyncPoller<PollResult<DatabaseInner>,DatabaseInner> beginResume(String resourceGroupName, String serverName, String databaseName, Context context)

Resumes a database.

abstract PollerFlux<PollResult<DatabaseInner>,DatabaseInner> beginResumeAsync(String resourceGroupName, String serverName, String databaseName)

Resumes a database.

abstract SyncPoller<PollResult<DatabaseInner>,DatabaseInner> beginUpdate(String resourceGroupName, String serverName, String databaseName, DatabaseUpdate parameters)

Updates an existing database.

abstract SyncPoller<PollResult<DatabaseInner>,DatabaseInner> beginUpdate(String resourceGroupName, String serverName, String databaseName, DatabaseUpdate parameters, Context context)

Updates an existing database.

abstract PollerFlux<PollResult<DatabaseInner>,DatabaseInner> beginUpdateAsync(String resourceGroupName, String serverName, String databaseName, DatabaseUpdate parameters)

Updates an existing database.

abstract SyncPoller<PollResult<Void>,Void> beginUpgradeDataWarehouse(String resourceGroupName, String serverName, String databaseName)

Upgrades a data warehouse.

abstract SyncPoller<PollResult<Void>,Void> beginUpgradeDataWarehouse(String resourceGroupName, String serverName, String databaseName, Context context)

Upgrades a data warehouse.

abstract PollerFlux<PollResult<Void>,Void> beginUpgradeDataWarehouseAsync(String resourceGroupName, String serverName, String databaseName)

Upgrades a data warehouse.

abstract DatabaseInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, DatabaseInner parameters)

Creates a new database or updates an existing database.

abstract DatabaseInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, DatabaseInner parameters, Context context)

Creates a new database or updates an existing database.

abstract Mono<DatabaseInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, DatabaseInner parameters)

Creates a new database or updates an existing database.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, DatabaseInner parameters)

Creates a new database or updates an existing database.

abstract void delete(String resourceGroupName, String serverName, String databaseName)

Deletes the database.

abstract void delete(String resourceGroupName, String serverName, String databaseName, Context context)

Deletes the database.

abstract Mono<Void> deleteAsync(String resourceGroupName, String serverName, String databaseName)

Deletes the database.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName)

Deletes the database.

abstract ImportExportOperationResultInner export(String resourceGroupName, String serverName, String databaseName, ExportDatabaseDefinition parameters)

Exports a database.

abstract ImportExportOperationResultInner export(String resourceGroupName, String serverName, String databaseName, ExportDatabaseDefinition parameters, Context context)

Exports a database.

abstract Mono<ImportExportOperationResultInner> exportAsync(String resourceGroupName, String serverName, String databaseName, ExportDatabaseDefinition parameters)

Exports a database.

abstract Mono<Response<Flux<ByteBuffer>>> exportWithResponseAsync(String resourceGroupName, String serverName, String databaseName, ExportDatabaseDefinition parameters)

Exports a database.

abstract void failover(String resourceGroupName, String serverName, String databaseName)

Failovers a database.

abstract void failover(String resourceGroupName, String serverName, String databaseName, ReplicaType replicaType, Context context)

Failovers a database.

abstract Mono<Void> failoverAsync(String resourceGroupName, String serverName, String databaseName)

Failovers a database.

abstract Mono<Void> failoverAsync(String resourceGroupName, String serverName, String databaseName, ReplicaType replicaType)

Failovers a database.

abstract Mono<Response<Flux<ByteBuffer>>> failoverWithResponseAsync(String resourceGroupName, String serverName, String databaseName, ReplicaType replicaType)

Failovers a database.

abstract DatabaseInner get(String resourceGroupName, String serverName, String databaseName)

Gets a database.

abstract Mono<DatabaseInner> getAsync(String resourceGroupName, String serverName, String databaseName)

Gets a database.

abstract Response<DatabaseInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, Context context)

Gets a database.

abstract Mono<Response<DatabaseInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName)

Gets a database.

abstract ImportExportOperationResultInner importMethod(String resourceGroupName, String serverName, String databaseName, ImportExistingDatabaseDefinition parameters)

Imports a bacpac into a new database.

abstract ImportExportOperationResultInner importMethod(String resourceGroupName, String serverName, String databaseName, ImportExistingDatabaseDefinition parameters, Context context)

Imports a bacpac into a new database.

abstract Mono<ImportExportOperationResultInner> importMethodAsync(String resourceGroupName, String serverName, String databaseName, ImportExistingDatabaseDefinition parameters)

Imports a bacpac into a new database.

abstract Mono<Response<Flux<ByteBuffer>>> importMethodWithResponseAsync(String resourceGroupName, String serverName, String databaseName, ImportExistingDatabaseDefinition parameters)

Imports a bacpac into a new database.

abstract PagedIterable<DatabaseInner> listByElasticPool(String resourceGroupName, String serverName, String elasticPoolName)

Gets a list of databases in an elastic pool.

abstract PagedIterable<DatabaseInner> listByElasticPool(String resourceGroupName, String serverName, String elasticPoolName, Context context)

Gets a list of databases in an elastic pool.

abstract PagedFlux<DatabaseInner> listByElasticPoolAsync(String resourceGroupName, String serverName, String elasticPoolName)

Gets a list of databases in an elastic pool.

abstract PagedIterable<DatabaseInner> listByServer(String resourceGroupName, String serverName)

Gets a list of databases.

abstract PagedIterable<DatabaseInner> listByServer(String resourceGroupName, String serverName, String skipToken, Context context)

Gets a list of databases.

abstract PagedFlux<DatabaseInner> listByServerAsync(String resourceGroupName, String serverName)

Gets a list of databases.

abstract PagedFlux<DatabaseInner> listByServerAsync(String resourceGroupName, String serverName, String skipToken)

Gets a list of databases.

abstract PagedIterable<DatabaseInner> listInaccessibleByServer(String resourceGroupName, String serverName)

Gets a list of inaccessible databases in a logical server.

abstract PagedIterable<DatabaseInner> listInaccessibleByServer(String resourceGroupName, String serverName, Context context)

Gets a list of inaccessible databases in a logical server.

abstract PagedFlux<DatabaseInner> listInaccessibleByServerAsync(String resourceGroupName, String serverName)

Gets a list of inaccessible databases in a logical server.

abstract DatabaseInner pause(String resourceGroupName, String serverName, String databaseName)

Pauses a database.

abstract DatabaseInner pause(String resourceGroupName, String serverName, String databaseName, Context context)

Pauses a database.

abstract Mono<DatabaseInner> pauseAsync(String resourceGroupName, String serverName, String databaseName)

Pauses a database.

abstract Mono<Response<Flux<ByteBuffer>>> pauseWithResponseAsync(String resourceGroupName, String serverName, String databaseName)

Pauses a database.

abstract void rename(String resourceGroupName, String serverName, String databaseName, ResourceMoveDefinition parameters)

Renames a database.

abstract Mono<Void> renameAsync(String resourceGroupName, String serverName, String databaseName, ResourceMoveDefinition parameters)

Renames a database.

abstract Response<Void> renameWithResponse(String resourceGroupName, String serverName, String databaseName, ResourceMoveDefinition parameters, Context context)

Renames a database.

abstract Mono<Response<Void>> renameWithResponseAsync(String resourceGroupName, String serverName, String databaseName, ResourceMoveDefinition parameters)

Renames a database.

abstract DatabaseInner resume(String resourceGroupName, String serverName, String databaseName)

Resumes a database.

abstract DatabaseInner resume(String resourceGroupName, String serverName, String databaseName, Context context)

Resumes a database.

abstract Mono<DatabaseInner> resumeAsync(String resourceGroupName, String serverName, String databaseName)

Resumes a database.

abstract Mono<Response<Flux<ByteBuffer>>> resumeWithResponseAsync(String resourceGroupName, String serverName, String databaseName)

Resumes a database.

abstract DatabaseInner update(String resourceGroupName, String serverName, String databaseName, DatabaseUpdate parameters)

Updates an existing database.

abstract DatabaseInner update(String resourceGroupName, String serverName, String databaseName, DatabaseUpdate parameters, Context context)

Updates an existing database.

abstract Mono<DatabaseInner> updateAsync(String resourceGroupName, String serverName, String databaseName, DatabaseUpdate parameters)

Updates an existing database.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, DatabaseUpdate parameters)

Updates an existing database.

abstract void upgradeDataWarehouse(String resourceGroupName, String serverName, String databaseName)

Upgrades a data warehouse.

abstract void upgradeDataWarehouse(String resourceGroupName, String serverName, String databaseName, Context context)

Upgrades a data warehouse.

abstract Mono<Void> upgradeDataWarehouseAsync(String resourceGroupName, String serverName, String databaseName)

Upgrades a data warehouse.

abstract Mono<Response<Flux<ByteBuffer>>> upgradeDataWarehouseWithResponseAsync(String resourceGroupName, String serverName, String databaseName)

Upgrades a data warehouse.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,DatabaseInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, DatabaseInner parameters)

Creates a new database or updates an existing database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The requested database resource state.

Returns:

the SyncPoller<T,U> for polling of a database resource.

beginCreateOrUpdate

public abstract SyncPoller,DatabaseInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, DatabaseInner parameters, Context context)

Creates a new database or updates an existing database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The requested database resource state.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a database resource.

beginCreateOrUpdateAsync

public abstract PollerFlux,DatabaseInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, DatabaseInner parameters)

Creates a new database or updates an existing database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The requested database resource state.

Returns:

the PollerFlux<T,U> for polling of a database resource.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String serverName, String databaseName)

Deletes the database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String serverName, String databaseName, Context context)

Deletes the database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String serverName, String databaseName)

Deletes the database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginExport

public abstract SyncPoller,ImportExportOperationResultInner> beginExport(String resourceGroupName, String serverName, String databaseName, ExportDatabaseDefinition parameters)

Exports a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The database export request parameters.

Returns:

the SyncPoller<T,U> for polling of an ImportExport operation result resource.

beginExport

public abstract SyncPoller,ImportExportOperationResultInner> beginExport(String resourceGroupName, String serverName, String databaseName, ExportDatabaseDefinition parameters, Context context)

Exports a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The database export request parameters.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an ImportExport operation result resource.

beginExportAsync

public abstract PollerFlux,ImportExportOperationResultInner> beginExportAsync(String resourceGroupName, String serverName, String databaseName, ExportDatabaseDefinition parameters)

Exports a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The database export request parameters.

Returns:

the PollerFlux<T,U> for polling of an ImportExport operation result resource.

beginFailover

public abstract SyncPoller,Void> beginFailover(String resourceGroupName, String serverName, String databaseName)

Failovers a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to failover.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginFailover

public abstract SyncPoller,Void> beginFailover(String resourceGroupName, String serverName, String databaseName, ReplicaType replicaType, Context context)

Failovers a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to failover.
replicaType - The type of replica to be failed over.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginFailoverAsync

public abstract PollerFlux,Void> beginFailoverAsync(String resourceGroupName, String serverName, String databaseName)

Failovers a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to failover.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginFailoverAsync

public abstract PollerFlux,Void> beginFailoverAsync(String resourceGroupName, String serverName, String databaseName, ReplicaType replicaType)

Failovers a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to failover.
replicaType - The type of replica to be failed over.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginImportMethod

public abstract SyncPoller,ImportExportOperationResultInner> beginImportMethod(String resourceGroupName, String serverName, String databaseName, ImportExistingDatabaseDefinition parameters)

Imports a bacpac into a new database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The database import request parameters.

Returns:

the SyncPoller<T,U> for polling of an ImportExport operation result resource.

beginImportMethod

public abstract SyncPoller,ImportExportOperationResultInner> beginImportMethod(String resourceGroupName, String serverName, String databaseName, ImportExistingDatabaseDefinition parameters, Context context)

Imports a bacpac into a new database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The database import request parameters.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an ImportExport operation result resource.

beginImportMethodAsync

public abstract PollerFlux,ImportExportOperationResultInner> beginImportMethodAsync(String resourceGroupName, String serverName, String databaseName, ImportExistingDatabaseDefinition parameters)

Imports a bacpac into a new database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The database import request parameters.

Returns:

the PollerFlux<T,U> for polling of an ImportExport operation result resource.

beginPause

public abstract SyncPoller,DatabaseInner> beginPause(String resourceGroupName, String serverName, String databaseName)

Pauses a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be paused.

Returns:

the SyncPoller<T,U> for polling of a database resource.

beginPause

public abstract SyncPoller,DatabaseInner> beginPause(String resourceGroupName, String serverName, String databaseName, Context context)

Pauses a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be paused.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a database resource.

beginPauseAsync

public abstract PollerFlux,DatabaseInner> beginPauseAsync(String resourceGroupName, String serverName, String databaseName)

Pauses a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be paused.

Returns:

the PollerFlux<T,U> for polling of a database resource.

beginResume

public abstract SyncPoller,DatabaseInner> beginResume(String resourceGroupName, String serverName, String databaseName)

Resumes a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be resumed.

Returns:

the SyncPoller<T,U> for polling of a database resource.

beginResume

public abstract SyncPoller,DatabaseInner> beginResume(String resourceGroupName, String serverName, String databaseName, Context context)

Resumes a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be resumed.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a database resource.

beginResumeAsync

public abstract PollerFlux,DatabaseInner> beginResumeAsync(String resourceGroupName, String serverName, String databaseName)

Resumes a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be resumed.

Returns:

the PollerFlux<T,U> for polling of a database resource.

beginUpdate

public abstract SyncPoller,DatabaseInner> beginUpdate(String resourceGroupName, String serverName, String databaseName, DatabaseUpdate parameters)

Updates an existing database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The requested database resource state.

Returns:

the SyncPoller<T,U> for polling of a database resource.

beginUpdate

public abstract SyncPoller,DatabaseInner> beginUpdate(String resourceGroupName, String serverName, String databaseName, DatabaseUpdate parameters, Context context)

Updates an existing database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The requested database resource state.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a database resource.

beginUpdateAsync

public abstract PollerFlux,DatabaseInner> beginUpdateAsync(String resourceGroupName, String serverName, String databaseName, DatabaseUpdate parameters)

Updates an existing database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The requested database resource state.

Returns:

the PollerFlux<T,U> for polling of a database resource.

beginUpgradeDataWarehouse

public abstract SyncPoller,Void> beginUpgradeDataWarehouse(String resourceGroupName, String serverName, String databaseName)

Upgrades a data warehouse.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be upgraded.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpgradeDataWarehouse

public abstract SyncPoller,Void> beginUpgradeDataWarehouse(String resourceGroupName, String serverName, String databaseName, Context context)

Upgrades a data warehouse.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be upgraded.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpgradeDataWarehouseAsync

public abstract PollerFlux,Void> beginUpgradeDataWarehouseAsync(String resourceGroupName, String serverName, String databaseName)

Upgrades a data warehouse.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be upgraded.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

createOrUpdate

public abstract DatabaseInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, DatabaseInner parameters)

Creates a new database or updates an existing database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The requested database resource state.

Returns:

a database resource.

createOrUpdate

public abstract DatabaseInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, DatabaseInner parameters, Context context)

Creates a new database or updates an existing database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The requested database resource state.
context - The context to associate with this operation.

Returns:

a database resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, DatabaseInner parameters)

Creates a new database or updates an existing database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The requested database resource state.

Returns:

a database resource on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, DatabaseInner parameters)

Creates a new database or updates an existing database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The requested database resource state.

Returns:

a database resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String serverName, String databaseName)

Deletes the database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.

delete

public abstract void delete(String resourceGroupName, String serverName, String databaseName, Context context)

Deletes the database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String serverName, String databaseName)

Deletes the database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName)

Deletes the database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.

Returns:

the Response<T> on successful completion of Mono.

export

public abstract ImportExportOperationResultInner export(String resourceGroupName, String serverName, String databaseName, ExportDatabaseDefinition parameters)

Exports a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The database export request parameters.

Returns:

an ImportExport operation result resource.

export

public abstract ImportExportOperationResultInner export(String resourceGroupName, String serverName, String databaseName, ExportDatabaseDefinition parameters, Context context)

Exports a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The database export request parameters.
context - The context to associate with this operation.

Returns:

an ImportExport operation result resource.

exportAsync

public abstract Mono exportAsync(String resourceGroupName, String serverName, String databaseName, ExportDatabaseDefinition parameters)

Exports a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The database export request parameters.

Returns:

an ImportExport operation result resource on successful completion of Mono.

exportWithResponseAsync

public abstract Mono>> exportWithResponseAsync(String resourceGroupName, String serverName, String databaseName, ExportDatabaseDefinition parameters)

Exports a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The database export request parameters.

Returns:

an ImportExport operation result resource along with Response<T> on successful completion of Mono.

failover

public abstract void failover(String resourceGroupName, String serverName, String databaseName)

Failovers a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to failover.

failover

public abstract void failover(String resourceGroupName, String serverName, String databaseName, ReplicaType replicaType, Context context)

Failovers a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to failover.
replicaType - The type of replica to be failed over.
context - The context to associate with this operation.

failoverAsync

public abstract Mono failoverAsync(String resourceGroupName, String serverName, String databaseName)

Failovers a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to failover.

Returns:

A Mono that completes when a successful response is received.

failoverAsync

public abstract Mono failoverAsync(String resourceGroupName, String serverName, String databaseName, ReplicaType replicaType)

Failovers a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to failover.
replicaType - The type of replica to be failed over.

Returns:

A Mono that completes when a successful response is received.

failoverWithResponseAsync

public abstract Mono>> failoverWithResponseAsync(String resourceGroupName, String serverName, String databaseName, ReplicaType replicaType)

Failovers a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to failover.
replicaType - The type of replica to be failed over.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract DatabaseInner get(String resourceGroupName, String serverName, String databaseName)

Gets a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.

Returns:

a database.

getAsync

public abstract Mono getAsync(String resourceGroupName, String serverName, String databaseName)

Gets a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.

Returns:

a database on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String serverName, String databaseName, Context context)

Gets a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
context - The context to associate with this operation.

Returns:

a database along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName)

Gets a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.

Returns:

a database along with Response<T> on successful completion of Mono.

importMethod

public abstract ImportExportOperationResultInner importMethod(String resourceGroupName, String serverName, String databaseName, ImportExistingDatabaseDefinition parameters)

Imports a bacpac into a new database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The database import request parameters.

Returns:

an ImportExport operation result resource.

importMethod

public abstract ImportExportOperationResultInner importMethod(String resourceGroupName, String serverName, String databaseName, ImportExistingDatabaseDefinition parameters, Context context)

Imports a bacpac into a new database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The database import request parameters.
context - The context to associate with this operation.

Returns:

an ImportExport operation result resource.

importMethodAsync

public abstract Mono importMethodAsync(String resourceGroupName, String serverName, String databaseName, ImportExistingDatabaseDefinition parameters)

Imports a bacpac into a new database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The database import request parameters.

Returns:

an ImportExport operation result resource on successful completion of Mono.

importMethodWithResponseAsync

public abstract Mono>> importMethodWithResponseAsync(String resourceGroupName, String serverName, String databaseName, ImportExistingDatabaseDefinition parameters)

Imports a bacpac into a new database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The database import request parameters.

Returns:

an ImportExport operation result resource along with Response<T> on successful completion of Mono.

listByElasticPool

public abstract PagedIterable listByElasticPool(String resourceGroupName, String serverName, String elasticPoolName)

Gets a list of databases in an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.

Returns:

a list of databases in an elastic pool as paginated response with PagedIterable<T>.

listByElasticPool

public abstract PagedIterable listByElasticPool(String resourceGroupName, String serverName, String elasticPoolName, Context context)

Gets a list of databases in an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.
context - The context to associate with this operation.

Returns:

a list of databases in an elastic pool as paginated response with PagedIterable<T>.

listByElasticPoolAsync

public abstract PagedFlux listByElasticPoolAsync(String resourceGroupName, String serverName, String elasticPoolName)

Gets a list of databases in an elastic pool.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
elasticPoolName - The name of the elastic pool.

Returns:

a list of databases in an elastic pool as paginated response with PagedFlux<T>.

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName)

Gets a list of databases.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.

Returns:

a list of databases as paginated response with PagedIterable<T>.

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName, String skipToken, Context context)

Gets a list of databases.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
skipToken - The skipToken parameter.
context - The context to associate with this operation.

Returns:

a list of databases as paginated response with PagedIterable<T>.

listByServerAsync

public abstract PagedFlux listByServerAsync(String resourceGroupName, String serverName)

Gets a list of databases.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.

Returns:

a list of databases as paginated response with PagedFlux<T>.

listByServerAsync

public abstract PagedFlux listByServerAsync(String resourceGroupName, String serverName, String skipToken)

Gets a list of databases.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
skipToken - The skipToken parameter.

Returns:

a list of databases as paginated response with PagedFlux<T>.

listInaccessibleByServer

public abstract PagedIterable listInaccessibleByServer(String resourceGroupName, String serverName)

Gets a list of inaccessible databases in a logical server.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.

Returns:

a list of inaccessible databases in a logical server as paginated response with PagedIterable<T>.

listInaccessibleByServer

public abstract PagedIterable listInaccessibleByServer(String resourceGroupName, String serverName, Context context)

Gets a list of inaccessible databases in a logical server.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
context - The context to associate with this operation.

Returns:

a list of inaccessible databases in a logical server as paginated response with PagedIterable<T>.

listInaccessibleByServerAsync

public abstract PagedFlux listInaccessibleByServerAsync(String resourceGroupName, String serverName)

Gets a list of inaccessible databases in a logical server.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.

Returns:

a list of inaccessible databases in a logical server as paginated response with PagedFlux<T>.

pause

public abstract DatabaseInner pause(String resourceGroupName, String serverName, String databaseName)

Pauses a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be paused.

Returns:

a database resource.

pause

public abstract DatabaseInner pause(String resourceGroupName, String serverName, String databaseName, Context context)

Pauses a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be paused.
context - The context to associate with this operation.

Returns:

a database resource.

pauseAsync

public abstract Mono pauseAsync(String resourceGroupName, String serverName, String databaseName)

Pauses a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be paused.

Returns:

a database resource on successful completion of Mono.

pauseWithResponseAsync

public abstract Mono>> pauseWithResponseAsync(String resourceGroupName, String serverName, String databaseName)

Pauses a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be paused.

Returns:

a database resource along with Response<T> on successful completion of Mono.

rename

public abstract void rename(String resourceGroupName, String serverName, String databaseName, ResourceMoveDefinition parameters)

Renames a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to rename.
parameters - The resource move definition for renaming this database.

renameAsync

public abstract Mono renameAsync(String resourceGroupName, String serverName, String databaseName, ResourceMoveDefinition parameters)

Renames a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to rename.
parameters - The resource move definition for renaming this database.

Returns:

A Mono that completes when a successful response is received.

renameWithResponse

public abstract Response renameWithResponse(String resourceGroupName, String serverName, String databaseName, ResourceMoveDefinition parameters, Context context)

Renames a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to rename.
parameters - The resource move definition for renaming this database.
context - The context to associate with this operation.

Returns:

renameWithResponseAsync

public abstract Mono> renameWithResponseAsync(String resourceGroupName, String serverName, String databaseName, ResourceMoveDefinition parameters)

Renames a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to rename.
parameters - The resource move definition for renaming this database.

Returns:

the Response<T> on successful completion of Mono.

resume

public abstract DatabaseInner resume(String resourceGroupName, String serverName, String databaseName)

Resumes a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be resumed.

Returns:

a database resource.

resume

public abstract DatabaseInner resume(String resourceGroupName, String serverName, String databaseName, Context context)

Resumes a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be resumed.
context - The context to associate with this operation.

Returns:

a database resource.

resumeAsync

public abstract Mono resumeAsync(String resourceGroupName, String serverName, String databaseName)

Resumes a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be resumed.

Returns:

a database resource on successful completion of Mono.

resumeWithResponseAsync

public abstract Mono>> resumeWithResponseAsync(String resourceGroupName, String serverName, String databaseName)

Resumes a database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be resumed.

Returns:

a database resource along with Response<T> on successful completion of Mono.

update

public abstract DatabaseInner update(String resourceGroupName, String serverName, String databaseName, DatabaseUpdate parameters)

Updates an existing database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The requested database resource state.

Returns:

a database resource.

update

public abstract DatabaseInner update(String resourceGroupName, String serverName, String databaseName, DatabaseUpdate parameters, Context context)

Updates an existing database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The requested database resource state.
context - The context to associate with this operation.

Returns:

a database resource.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String serverName, String databaseName, DatabaseUpdate parameters)

Updates an existing database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The requested database resource state.

Returns:

a database resource on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, DatabaseUpdate parameters)

Updates an existing database.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database.
parameters - The requested database resource state.

Returns:

a database resource along with Response<T> on successful completion of Mono.

upgradeDataWarehouse

public abstract void upgradeDataWarehouse(String resourceGroupName, String serverName, String databaseName)

Upgrades a data warehouse.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be upgraded.

upgradeDataWarehouse

public abstract void upgradeDataWarehouse(String resourceGroupName, String serverName, String databaseName, Context context)

Upgrades a data warehouse.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be upgraded.
context - The context to associate with this operation.

upgradeDataWarehouseAsync

public abstract Mono upgradeDataWarehouseAsync(String resourceGroupName, String serverName, String databaseName)

Upgrades a data warehouse.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be upgraded.

Returns:

A Mono that completes when a successful response is received.

upgradeDataWarehouseWithResponseAsync

public abstract Mono>> upgradeDataWarehouseWithResponseAsync(String resourceGroupName, String serverName, String databaseName)

Upgrades a data warehouse.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
databaseName - The name of the database to be upgraded.

Returns:

the Response<T> on successful completion of Mono.

Applies to