DatabaseMigrationsSqlMi interface
Interface representing a DatabaseMigrationsSqlMi.
Methods
Method Details
beginCancel(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlMiCancelOptionalParams)
Stop in-progress database migration to SQL Managed Instance.
function beginCancel(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlMiCancelOptionalParams): 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.
- 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<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginCancelAndWait(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlMiCancelOptionalParams)
Stop in-progress database migration to SQL Managed Instance.
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 a new database migration to a given SQL Managed Instance.
function beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlMi, options?: DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<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<@azure/core-lro.SimplePollerLike<OperationState<DatabaseMigrationSqlMi>, DatabaseMigrationSqlMi>>
beginCreateOrUpdateAndWait(string, string, string, DatabaseMigrationSqlMi, DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams)
Create a new database migration to a given SQL Managed Instance.
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 in-progress online database migration to SQL Managed Instance.
function beginCutover(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlMiCutoverOptionalParams): 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.
- 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<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginCutoverAndWait(string, string, string, MigrationOperationInput, DatabaseMigrationsSqlMiCutoverOptionalParams)
Initiate cutover for in-progress online database migration to SQL Managed Instance.
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>
beginDelete(string, string, string, DatabaseMigrationsSqlMiDeleteOptionalParams)
Delete Database Migration resource.
function beginDelete(resourceGroupName: string, managedInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlMiDeleteOptionalParams): Promise<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DatabaseMigrationSqlMi>, DatabaseMigrationSqlMi>>
beginDeleteAndWait(string, string, string, DatabaseMigrationsSqlMiDeleteOptionalParams)
Delete Database Migration resource.
function beginDeleteAndWait(resourceGroupName: string, managedInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlMiDeleteOptionalParams): 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>
get(string, string, string, DatabaseMigrationsSqlMiGetOptionalParams)
Retrieve the specified database migration for a given SQL Managed Instance.
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>