DatabaseMigrationsSqlVm interface
Interface representing a DatabaseMigrationsSqlVm.
Methods
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
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
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.
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.
The options parameters.
Returns
Promise<DatabaseMigrationSqlVm>
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
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
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.
The options parameters.
Returns
Promise<DatabaseMigrationSqlVm>
Azure SDK for JavaScript