Share via


DatabaseMigrationsSqlDb interface

Interface representing a DatabaseMigrationsSqlDb.

Methods

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

Stop on going migration for the database.

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

Stop on going migration for the database.

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

Create or Update Database Migration resource.

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

Create or Update Database Migration resource.

beginDelete(string, string, string, DatabaseMigrationsSqlDbDeleteOptionalParams)

Delete Database Migration resource.

beginDeleteAndWait(string, string, string, DatabaseMigrationsSqlDbDeleteOptionalParams)

Delete Database Migration resource.

beginRetry(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlDbRetryOptionalParams)

Retry on going migration for the database.

beginRetryAndWait(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlDbRetryOptionalParams)

Retry on going migration for the database.

get(string, string, string, DatabaseMigrationsSqlDbGetOptionalParams)

Retrieve the Database Migration resource.

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>

beginRetry(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlDbRetryOptionalParams)

Retry on going migration for the database.

function beginRetry(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, migrationOperationInput: MigrationOperationInput, options?: DatabaseMigrationsSqlDbRetryOptionalParams): 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.

migrationOperationInput
MigrationOperationInput

Required migration operation ID for which retry will be initiated.

options
DatabaseMigrationsSqlDbRetryOptionalParams

The options parameters.

Returns

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

beginRetryAndWait(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlDbRetryOptionalParams)

Retry on going migration for the database.

function beginRetryAndWait(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, migrationOperationInput: MigrationOperationInput, options?: DatabaseMigrationsSqlDbRetryOptionalParams): 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.

migrationOperationInput
MigrationOperationInput

Required migration operation ID for which retry will be initiated.

options
DatabaseMigrationsSqlDbRetryOptionalParams

The options parameters.

Returns

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