DatabaseMigrationsSqlVm interface
Interface representing a DatabaseMigrationsSqlVm.
Methods
Method Details
beginCancel(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlVmCancelOptionalParams)
Stop in-progress database migration to SQL VM.
function beginCancel(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlVmCancelOptionalParams): 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.
- sqlVirtualMachineName
-
string
- targetDbName
-
string
The name of the target database.
- parameters
- MigrationOperationInput
Migration Operation Input
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginCancelAndWait(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlVmCancelOptionalParams)
Stop in-progress database migration to SQL VM.
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 a new database migration to a given SQL VM.
function beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, parameters: DatabaseMigrationSqlVm, options?: DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<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<@azure/core-lro.SimplePollerLike<OperationState<DatabaseMigrationSqlVm>, DatabaseMigrationSqlVm>>
beginCreateOrUpdateAndWait(string, string, string, DatabaseMigrationSqlVm, DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams)
Create a new database migration to a given SQL VM.
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)
Initiate cutover for in-progress online database migration to SQL VM.
function beginCutover(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlVmCutoverOptionalParams): 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.
- sqlVirtualMachineName
-
string
- targetDbName
-
string
The name of the target database.
- parameters
- MigrationOperationInput
Migration Operation Input
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginCutoverAndWait(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlVmCutoverOptionalParams)
Initiate cutover for in-progress online database migration to SQL VM.
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>
beginDelete(string, string, string, DatabaseMigrationsSqlVmDeleteOptionalParams)
Delete Database Migration resource.
function beginDelete(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, options?: DatabaseMigrationsSqlVmDeleteOptionalParams): Promise<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DatabaseMigrationSqlVm>, DatabaseMigrationSqlVm>>
beginDeleteAndWait(string, string, string, DatabaseMigrationsSqlVmDeleteOptionalParams)
Delete Database Migration resource.
function beginDeleteAndWait(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, options?: DatabaseMigrationsSqlVmDeleteOptionalParams): 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>
get(string, string, string, DatabaseMigrationsSqlVmGetOptionalParams)
Retrieve the specified database migration for a given SQL VM.
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>