DatabaseMigrationsSqlDbsClient Interface

public interface DatabaseMigrationsSqlDbsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<Void>,Void> beginCancel(String resourceGroupName, String sqlDbInstanceName, String targetDbName, MigrationOperationInput parameters)

Stop on going migration for the database.

abstract SyncPoller<PollResult<Void>,Void> beginCancel(String resourceGroupName, String sqlDbInstanceName, String targetDbName, MigrationOperationInput parameters, Context context)

Stop on going migration for the database.

abstract SyncPoller<PollResult<DatabaseMigrationSqlDbInner>,DatabaseMigrationSqlDbInner> beginCreateOrUpdate(String resourceGroupName, String sqlDbInstanceName, String targetDbName, DatabaseMigrationSqlDbInner parameters)

Create or Update Database Migration resource.

abstract SyncPoller<PollResult<DatabaseMigrationSqlDbInner>,DatabaseMigrationSqlDbInner> beginCreateOrUpdate(String resourceGroupName, String sqlDbInstanceName, String targetDbName, DatabaseMigrationSqlDbInner parameters, Context context)

Create or Update Database Migration resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String sqlDbInstanceName, String targetDbName)

Delete Database Migration resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String sqlDbInstanceName, String targetDbName, Boolean force, Context context)

Delete Database Migration resource.

abstract void cancel(String resourceGroupName, String sqlDbInstanceName, String targetDbName, MigrationOperationInput parameters)

Stop on going migration for the database.

abstract void cancel(String resourceGroupName, String sqlDbInstanceName, String targetDbName, MigrationOperationInput parameters, Context context)

Stop on going migration for the database.

abstract DatabaseMigrationSqlDbInner createOrUpdate(String resourceGroupName, String sqlDbInstanceName, String targetDbName, DatabaseMigrationSqlDbInner parameters)

Create or Update Database Migration resource.

abstract DatabaseMigrationSqlDbInner createOrUpdate(String resourceGroupName, String sqlDbInstanceName, String targetDbName, DatabaseMigrationSqlDbInner parameters, Context context)

Create or Update Database Migration resource.

abstract void delete(String resourceGroupName, String sqlDbInstanceName, String targetDbName)

Delete Database Migration resource.

abstract void delete(String resourceGroupName, String sqlDbInstanceName, String targetDbName, Boolean force, Context context)

Delete Database Migration resource.

abstract DatabaseMigrationSqlDbInner get(String resourceGroupName, String sqlDbInstanceName, String targetDbName)

Retrieve the Database Migration resource.

abstract Response<DatabaseMigrationSqlDbInner> getWithResponse(String resourceGroupName, String sqlDbInstanceName, String targetDbName, UUID migrationOperationId, String expand, Context context)

Retrieve the Database Migration resource.

Method Details

beginCancel

public abstract SyncPoller<PollResult<Void>,Void> beginCancel(String resourceGroupName, String sqlDbInstanceName, String targetDbName, MigrationOperationInput parameters)

Stop on going migration for the database.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName - The sqlDbInstanceName parameter.
targetDbName - The name of the target database.
parameters - Required migration operation ID for which cancel will be initiated.

Returns:

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

beginCancel

public abstract SyncPoller<PollResult<Void>,Void> beginCancel(String resourceGroupName, String sqlDbInstanceName, String targetDbName, MigrationOperationInput parameters, Context context)

Stop on going migration for the database.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName - The sqlDbInstanceName parameter.
targetDbName - The name of the target database.
parameters - Required migration operation ID for which cancel will be initiated.
context - The context to associate with this operation.

Returns:

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

beginCreateOrUpdate

public abstract SyncPoller<PollResult<DatabaseMigrationSqlDbInner>,DatabaseMigrationSqlDbInner> beginCreateOrUpdate(String resourceGroupName, String sqlDbInstanceName, String targetDbName, DatabaseMigrationSqlDbInner parameters)

Create or Update Database Migration resource.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName - The sqlDbInstanceName parameter.
targetDbName - The name of the target database.
parameters - Details of Sql Db migration resource.

Returns:

the SyncPoller<T,U> for polling of database Migration Resource for SQL Database.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<DatabaseMigrationSqlDbInner>,DatabaseMigrationSqlDbInner> beginCreateOrUpdate(String resourceGroupName, String sqlDbInstanceName, String targetDbName, DatabaseMigrationSqlDbInner parameters, Context context)

Create or Update Database Migration resource.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName - The sqlDbInstanceName parameter.
targetDbName - The name of the target database.
parameters - Details of Sql Db migration resource.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of database Migration Resource for SQL Database.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String sqlDbInstanceName, String targetDbName)

Delete Database Migration resource.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName - The sqlDbInstanceName parameter.
targetDbName - The name of the target database.

Returns:

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

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String sqlDbInstanceName, String targetDbName, Boolean force, Context context)

Delete Database Migration resource.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName - The sqlDbInstanceName parameter.
targetDbName - The name of the target database.
force - Optional force delete boolean. If this is provided as true, migration will be deleted even if active.
context - The context to associate with this operation.

Returns:

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

cancel

public abstract void cancel(String resourceGroupName, String sqlDbInstanceName, String targetDbName, MigrationOperationInput parameters)

Stop on going migration for the database.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName - The sqlDbInstanceName parameter.
targetDbName - The name of the target database.
parameters - Required migration operation ID for which cancel will be initiated.

cancel

public abstract void cancel(String resourceGroupName, String sqlDbInstanceName, String targetDbName, MigrationOperationInput parameters, Context context)

Stop on going migration for the database.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName - The sqlDbInstanceName parameter.
targetDbName - The name of the target database.
parameters - Required migration operation ID for which cancel will be initiated.
context - The context to associate with this operation.

createOrUpdate

public abstract DatabaseMigrationSqlDbInner createOrUpdate(String resourceGroupName, String sqlDbInstanceName, String targetDbName, DatabaseMigrationSqlDbInner parameters)

Create or Update Database Migration resource.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName - The sqlDbInstanceName parameter.
targetDbName - The name of the target database.
parameters - Details of Sql Db migration resource.

Returns:

database Migration Resource for SQL Database.

createOrUpdate

public abstract DatabaseMigrationSqlDbInner createOrUpdate(String resourceGroupName, String sqlDbInstanceName, String targetDbName, DatabaseMigrationSqlDbInner parameters, Context context)

Create or Update Database Migration resource.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName - The sqlDbInstanceName parameter.
targetDbName - The name of the target database.
parameters - Details of Sql Db migration resource.
context - The context to associate with this operation.

Returns:

database Migration Resource for SQL Database.

delete

public abstract void delete(String resourceGroupName, String sqlDbInstanceName, String targetDbName)

Delete Database Migration resource.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName - The sqlDbInstanceName parameter.
targetDbName - The name of the target database.

delete

public abstract void delete(String resourceGroupName, String sqlDbInstanceName, String targetDbName, Boolean force, Context context)

Delete Database Migration resource.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName - The sqlDbInstanceName parameter.
targetDbName - The name of the target database.
force - Optional force delete boolean. If this is provided as true, migration will be deleted even if active.
context - The context to associate with this operation.

get

public abstract DatabaseMigrationSqlDbInner get(String resourceGroupName, String sqlDbInstanceName, String targetDbName)

Retrieve the Database Migration resource.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName - The sqlDbInstanceName parameter.
targetDbName - The name of the target database.

Returns:

database Migration Resource for SQL Database.

getWithResponse

public abstract Response<DatabaseMigrationSqlDbInner> getWithResponse(String resourceGroupName, String sqlDbInstanceName, String targetDbName, UUID migrationOperationId, String expand, Context context)

Retrieve the Database Migration resource.

Parameters:

resourceGroupName - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlDbInstanceName - The sqlDbInstanceName parameter.
targetDbName - The name of the target database.
migrationOperationId - Optional migration operation ID. If this is provided, then details of migration operation for that ID are retrieved. If not provided (default), then details related to most recent or current operation are retrieved.
expand - Complete migration details be included in the response.
context - The context to associate with this operation.

Returns:

database Migration Resource for SQL Database along with Response<T>.

Applies to