DatabaseMigrationsSqlVm interface

Interface representing a DatabaseMigrationsSqlVm.

Methods

beginCancel(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlVmCancelOptionalParams)

Stop ongoing migration for the database.

beginCancelAndWait(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlVmCancelOptionalParams)

Stop ongoing migration for the database.

beginCreateOrUpdate(string, string, string, DatabaseMigrationSqlVm, DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams)

Create or Update Database Migration resource.

beginCreateOrUpdateAndWait(string, string, string, DatabaseMigrationSqlVm, DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams)

Create or Update Database Migration resource.

beginCutover(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlVmCutoverOptionalParams)

Cutover online migration operation for the database.

beginCutoverAndWait(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlVmCutoverOptionalParams)

Cutover online migration operation for the database.

get(string, string, string, DatabaseMigrationsSqlVmGetOptionalParams)

Retrieve the Database Migration resource.

Method Details

beginCancel(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlVmCancelOptionalParams)

Stop ongoing migration for the database.

function beginCancel(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlVmCancelOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineName

string

targetDbName

string

The name of the target database.

parameters
MigrationOperationInput

Migration Operation Input

options
DatabaseMigrationsSqlVmCancelOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginCancelAndWait(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlVmCancelOptionalParams)

Stop ongoing migration for the database.

function beginCancelAndWait(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlVmCancelOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineName

string

targetDbName

string

The name of the target database.

parameters
MigrationOperationInput

Migration Operation Input

options
DatabaseMigrationsSqlVmCancelOptionalParams

The options parameters.

Returns

Promise<void>

beginCreateOrUpdate(string, string, string, DatabaseMigrationSqlVm, DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams)

Create or Update Database Migration resource.

function beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, parameters: DatabaseMigrationSqlVm, options?: DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DatabaseMigrationSqlVm>, DatabaseMigrationSqlVm>>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineName

string

targetDbName

string

The name of the target database.

parameters
DatabaseMigrationSqlVm

Details of SqlMigrationService resource.

options
DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<DatabaseMigrationSqlVm>, DatabaseMigrationSqlVm>>

beginCreateOrUpdateAndWait(string, string, string, DatabaseMigrationSqlVm, DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams)

Create or Update Database Migration resource.

function beginCreateOrUpdateAndWait(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, parameters: DatabaseMigrationSqlVm, options?: DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams): Promise<DatabaseMigrationSqlVm>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineName

string

targetDbName

string

The name of the target database.

parameters
DatabaseMigrationSqlVm

Details of SqlMigrationService resource.

options
DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams

The options parameters.

Returns

beginCutover(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlVmCutoverOptionalParams)

Cutover online migration operation for the database.

function beginCutover(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlVmCutoverOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineName

string

targetDbName

string

The name of the target database.

parameters
MigrationOperationInput

Migration Operation Input

options
DatabaseMigrationsSqlVmCutoverOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginCutoverAndWait(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlVmCutoverOptionalParams)

Cutover online migration operation for the database.

function beginCutoverAndWait(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlVmCutoverOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineName

string

targetDbName

string

The name of the target database.

parameters
MigrationOperationInput

Migration Operation Input

options
DatabaseMigrationsSqlVmCutoverOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, DatabaseMigrationsSqlVmGetOptionalParams)

Retrieve the Database Migration resource.

function get(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, options?: DatabaseMigrationsSqlVmGetOptionalParams): Promise<DatabaseMigrationSqlVm>

Parameters

resourceGroupName

string

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineName

string

targetDbName

string

The name of the target database.

options
DatabaseMigrationsSqlVmGetOptionalParams

The options parameters.

Returns