DatabaseMigrationsSqlVms Interface

public interface DatabaseMigrationsSqlVms

Resource collection API of DatabaseMigrationsSqlVms.

Method Summary

Modifier and Type Method and Description
abstract void cancel(String resourceGroupName, String sqlVirtualMachineName, String targetDbName, MigrationOperationInput parameters)

Stop in-progress database migration to SQL VM.

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

Stop in-progress database migration to SQL VM.

abstract void cutover(String resourceGroupName, String sqlVirtualMachineName, String targetDbName, MigrationOperationInput parameters)

Initiate cutover for in-progress online database migration to SQL VM.

abstract void cutover(String resourceGroupName, String sqlVirtualMachineName, String targetDbName, MigrationOperationInput parameters, Context context)

Initiate cutover for in-progress online database migration to SQL VM.

abstract Blank define(String name)

Begins definition for a new DatabaseMigrationSqlVm resource.

abstract DatabaseMigrationSqlVm get(String resourceGroupName, String sqlVirtualMachineName, String targetDbName)

Retrieve the specified database migration for a given SQL VM.

abstract DatabaseMigrationSqlVm getById(String id)

Retrieve the specified database migration for a given SQL VM.

abstract Response<DatabaseMigrationSqlVm> getByIdWithResponse(String id, UUID migrationOperationId, String expand, Context context)

Retrieve the specified database migration for a given SQL VM.

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

Retrieve the specified database migration for a given SQL VM.

Method Details

cancel

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

Stop in-progress database migration to SQL VM.

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.
sqlVirtualMachineName - The sqlVirtualMachineName parameter.
targetDbName - The name of the target database.
parameters - The parameters parameter.

cancel

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

Stop in-progress database migration to SQL VM.

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.
sqlVirtualMachineName - The sqlVirtualMachineName parameter.
targetDbName - The name of the target database.
parameters - The parameters parameter.
context - The context to associate with this operation.

cutover

public abstract void cutover(String resourceGroupName, String sqlVirtualMachineName, String targetDbName, MigrationOperationInput parameters)

Initiate cutover for in-progress online database migration to SQL VM.

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.
sqlVirtualMachineName - The sqlVirtualMachineName parameter.
targetDbName - The name of the target database.
parameters - The parameters parameter.

cutover

public abstract void cutover(String resourceGroupName, String sqlVirtualMachineName, String targetDbName, MigrationOperationInput parameters, Context context)

Initiate cutover for in-progress online database migration to SQL VM.

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.
sqlVirtualMachineName - The sqlVirtualMachineName parameter.
targetDbName - The name of the target database.
parameters - The parameters parameter.
context - The context to associate with this operation.

define

public abstract DatabaseMigrationSqlVm.DefinitionStages.Blank define(String name)

Begins definition for a new DatabaseMigrationSqlVm resource.

Parameters:

name - resource name.

Returns:

the first stage of the new DatabaseMigrationSqlVm definition.

get

public abstract DatabaseMigrationSqlVm get(String resourceGroupName, String sqlVirtualMachineName, String targetDbName)

Retrieve the specified database migration for a given SQL VM.

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.
sqlVirtualMachineName - The sqlVirtualMachineName parameter.
targetDbName - The name of the target database.

Returns:

database Migration Resource for SQL Virtual Machine.

getById

public abstract DatabaseMigrationSqlVm getById(String id)

Retrieve the specified database migration for a given SQL VM.

Parameters:

id - the resource ID.

Returns:

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

getByIdWithResponse

public abstract Response<DatabaseMigrationSqlVm> getByIdWithResponse(String id, UUID migrationOperationId, String expand, Context context)

Retrieve the specified database migration for a given SQL VM.

Parameters:

id - the resource ID.
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 Virtual Machine along with Response<T>.

getWithResponse

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

Retrieve the specified database migration for a given SQL VM.

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.
sqlVirtualMachineName - The sqlVirtualMachineName 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 Virtual Machine along with Response<T>.

Applies to