DatabaseMigrationsSqlDb interface

Interface representing a DatabaseMigrationsSqlDb.

Method Details

beginCancel(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlDbCancelOptionalParams)

Stop on going migration for the database.

function beginCancel(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlDbCancelOptionalParams): Promise<SimplePollerLike<OperationState<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.

sqlDbInstanceName

string

targetDbName

string

The name of the target database.

parameters
MigrationOperationInput

Required migration operation ID for which cancel will be initiated.

options
DatabaseMigrationsSqlDbCancelOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginCancelAndWait(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlDbCancelOptionalParams)

Stop on going migration for the database.

function beginCancelAndWait(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlDbCancelOptionalParams): 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.

sqlDbInstanceName

string

targetDbName

string

The name of the target database.

parameters
MigrationOperationInput

Required migration operation ID for which cancel will be initiated.

options
DatabaseMigrationsSqlDbCancelOptionalParams

The options parameters.

Returns

Promise<void>

beginCreateOrUpdate(string, string, string, DatabaseMigrationSqlDb, DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams)

Create or Update Database Migration resource.

function beginCreateOrUpdate(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlDb, options?: DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationSqlDb>, DatabaseMigrationSqlDb>>

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.

sqlDbInstanceName

string

targetDbName

string

The name of the target database.

parameters
DatabaseMigrationSqlDb

Details of Sql Db migration resource.

options
DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<DatabaseMigrationSqlDb>, DatabaseMigrationSqlDb>>

beginCreateOrUpdateAndWait(string, string, string, DatabaseMigrationSqlDb, DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams)

Create or Update Database Migration resource.

function beginCreateOrUpdateAndWait(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlDb, options?: DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams): Promise<DatabaseMigrationSqlDb>

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.

sqlDbInstanceName

string

targetDbName

string

The name of the target database.

parameters
DatabaseMigrationSqlDb

Details of Sql Db migration resource.

options
DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, DatabaseMigrationsSqlDbDeleteOptionalParams)

Delete Database Migration resource.

function beginDelete(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlDbDeleteOptionalParams): Promise<SimplePollerLike<OperationState<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.

sqlDbInstanceName

string

targetDbName

string

The name of the target database.

options
DatabaseMigrationsSqlDbDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, DatabaseMigrationsSqlDbDeleteOptionalParams)

Delete Database Migration resource.

function beginDeleteAndWait(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlDbDeleteOptionalParams): 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.

sqlDbInstanceName

string

targetDbName

string

The name of the target database.

options
DatabaseMigrationsSqlDbDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, DatabaseMigrationsSqlDbGetOptionalParams)

Retrieve the Database Migration resource.

function get(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlDbGetOptionalParams): Promise<DatabaseMigrationSqlDb>

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.

sqlDbInstanceName

string

targetDbName

string

The name of the target database.

options
DatabaseMigrationsSqlDbGetOptionalParams

The options parameters.

Returns