DatabaseMigrationsSqlMi interface
Interface representing a DatabaseMigrationsSqlMi.
Methods
Method Details
beginCancel(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlMiCancelOptionalParams)
Stop migrations in progress for the database
function beginCancel(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlMiCancelOptionalParams): 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.
- managedInstanceName
-
string
- targetDbName
-
string
The name of the target database.
- parameters
- MigrationOperationInput
Required migration operation ID for which cancel will be initiated.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginCancelAndWait(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlMiCancelOptionalParams)
Stop migrations in progress for the database
function beginCancelAndWait(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlMiCancelOptionalParams): 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.
- managedInstanceName
-
string
- targetDbName
-
string
The name of the target database.
- parameters
- MigrationOperationInput
Required migration operation ID for which cancel will be initiated.
The options parameters.
Returns
Promise<void>
beginCreateOrUpdate(string, string, string, DatabaseMigrationSqlMi, DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams)
Create or Update Database Migration resource.
function beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlMi, options?: DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DatabaseMigrationSqlMi>, DatabaseMigrationSqlMi>>
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.
- managedInstanceName
-
string
- targetDbName
-
string
The name of the target database.
- parameters
- DatabaseMigrationSqlMi
Details of SqlMigrationService resource.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<DatabaseMigrationSqlMi>, DatabaseMigrationSqlMi>>
beginCreateOrUpdateAndWait(string, string, string, DatabaseMigrationSqlMi, DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams)
Create or Update Database Migration resource.
function beginCreateOrUpdateAndWait(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlMi, options?: DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams): Promise<DatabaseMigrationSqlMi>
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.
- managedInstanceName
-
string
- targetDbName
-
string
The name of the target database.
- parameters
- DatabaseMigrationSqlMi
Details of SqlMigrationService resource.
The options parameters.
Returns
Promise<DatabaseMigrationSqlMi>
beginCutover(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlMiCutoverOptionalParams)
Initiate cutover for online migration in progress for the database.
function beginCutover(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlMiCutoverOptionalParams): 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.
- managedInstanceName
-
string
- targetDbName
-
string
The name of the target database.
- parameters
- MigrationOperationInput
Required migration operation ID for which cutover will be initiated.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginCutoverAndWait(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlMiCutoverOptionalParams)
Initiate cutover for online migration in progress for the database.
function beginCutoverAndWait(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlMiCutoverOptionalParams): 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.
- managedInstanceName
-
string
- targetDbName
-
string
The name of the target database.
- parameters
- MigrationOperationInput
Required migration operation ID for which cutover will be initiated.
The options parameters.
Returns
Promise<void>
get(string, string, string, DatabaseMigrationsSqlMiGetOptionalParams)
Retrieve the Database Migration resource.
function get(resourceGroupName: string, managedInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlMiGetOptionalParams): Promise<DatabaseMigrationSqlMi>
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.
- managedInstanceName
-
string
- targetDbName
-
string
The name of the target database.
The options parameters.
Returns
Promise<DatabaseMigrationSqlMi>
Azure SDK for JavaScript