Partager via


DataMigration Class

Definition

Low-level API implementation for the DataMigration service. The SQL Migration management API provides a RESTful set of web APIs that allow users to migrate their SQL Server databases to Azure SQL.

public class DataMigration
type DataMigration = class
Public Class DataMigration
Inheritance
DataMigration

Constructors

DataMigration()

Methods

DatabaseMigrationsSqlDbCancel(String, String, String, String, IMigrationOperationInput, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Stop in-progress database migration to SQL Db.

DatabaseMigrationsSqlDbCancelViaIdentity(String, IMigrationOperationInput, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Stop in-progress database migration to SQL Db.

DatabaseMigrationsSqlDbCreateOrUpdate(String, String, String, String, IDatabaseMigrationSqlDb, Func<HttpResponseMessage,Task<IDatabaseMigrationSqlDb>, Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Create a new database migration to a given SQL Db. This command can migrate data from the selected source database tables to the target database tables. If the target database have no table existing, please use New-AzDataMigrationSqlServerSchema command to migrate schema objects from source database to target databse.

DatabaseMigrationsSqlDbCreateOrUpdateViaIdentity(String, IDatabaseMigrationSqlDb, Func<HttpResponseMessage,Task<IDatabaseMigrationSqlDb>,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Create a new database migration to a given SQL Db. This command can migrate data from the selected source database tables to the target database tables. If the target database have no table existing, please use New-AzDataMigrationSqlServerSchema command to migrate schema objects from source database to target databse.

DatabaseMigrationsSqlDbDelete(String, String, String, Nullable<Boolean>, String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Remove the specified database migration for a given SQL Db.

DatabaseMigrationsSqlDbDeleteViaIdentity(String, Nullable<Boolean>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Remove the specified database migration for a given SQL Db.

DatabaseMigrationsSqlDbGet(String, String, String, String, String, String, Func<HttpResponseMessage,Task<IDatabaseMigrationSqlDb>, Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Retrieve the specified database migration for a given SQL Db.

DatabaseMigrationsSqlDbGetViaIdentity(String, String, String, Func<HttpResponseMessage,Task<IDatabaseMigrationSqlDb>,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Retrieve the specified database migration for a given SQL Db.

DatabaseMigrationsSqlMiCancel(String, String, String, String, IMigrationOperationInput, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Stop in-progress database migration to SQL Managed Instance.

DatabaseMigrationsSqlMiCancelViaIdentity(String, IMigrationOperationInput, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Stop in-progress database migration to SQL Managed Instance.

DatabaseMigrationsSqlMiCreateOrUpdate(String, String, String, String, IDatabaseMigrationSqlMi, Func<HttpResponseMessage,Task<IDatabaseMigrationSqlMi>, Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Create a new database migration to a given SQL Managed Instance.

DatabaseMigrationsSqlMiCreateOrUpdateViaIdentity(String, IDatabaseMigrationSqlMi, Func<HttpResponseMessage,Task<IDatabaseMigrationSqlMi>,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Create a new database migration to a given SQL Managed Instance.

DatabaseMigrationsSqlMiCutover(String, String, String, String, IMigrationOperationInput, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Initiate cutover for in-progress online database migration to SQL Managed Instance.

DatabaseMigrationsSqlMiCutoverViaIdentity(String, IMigrationOperationInput, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Initiate cutover for in-progress online database migration to SQL Managed Instance.

DatabaseMigrationsSqlMiGet(String, String, String, String, String, String, Func<HttpResponseMessage,Task<IDatabaseMigrationSqlMi>, Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Retrieve the specified database migration for a given SQL Managed Instance.

DatabaseMigrationsSqlMiGetViaIdentity(String, String, String, Func<HttpResponseMessage,Task<IDatabaseMigrationSqlMi>,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Retrieve the specified database migration for a given SQL Managed Instance.

DatabaseMigrationsSqlVMCancel(String, String, String, String, IMigrationOperationInput, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Stop in-progress database migration to SQL VM.

DatabaseMigrationsSqlVMCancelViaIdentity(String, IMigrationOperationInput, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Stop in-progress database migration to SQL VM.

DatabaseMigrationsSqlVMCreateOrUpdate(String, String, String, String, IDatabaseMigrationSqlVM, Func<HttpResponseMessage,Task<IDatabaseMigrationSqlVM>, Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Create a new database migration to a given SQL VM.

DatabaseMigrationsSqlVMCreateOrUpdateViaIdentity(String, IDatabaseMigrationSqlVM, Func<HttpResponseMessage,Task<IDatabaseMigrationSqlVM>,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Create a new database migration to a given SQL VM.

DatabaseMigrationsSqlVMCutover(String, String, String, String, IMigrationOperationInput, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Initiate cutover for in-progress online database migration to SQL VM.

DatabaseMigrationsSqlVMCutoverViaIdentity(String, IMigrationOperationInput, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Initiate cutover for in-progress online database migration to SQL VM.

DatabaseMigrationsSqlVMGet(String, String, String, String, String, String, Func<HttpResponseMessage,Task<IDatabaseMigrationSqlVM>, Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Retrieve the specified database migration for a given SQL VM.

DatabaseMigrationsSqlVMGetViaIdentity(String, String, String, Func<HttpResponseMessage,Task<IDatabaseMigrationSqlVM>,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Retrieve the specified database migration for a given SQL VM.

OperationsList(Func<HttpResponseMessage,Task<IOperationListResult>,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Lists all of the available SQL Migration REST API operations.

OperationsListViaIdentity(String, Func<HttpResponseMessage,Task<IOperationListResult>, Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Lists all of the available SQL Migration REST API operations.

SqlMigrationServicesCreateOrUpdate(String, String, String, ISqlMigrationService, Func<HttpResponseMessage,Task<ISqlMigrationService>,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Create or Update Database Migration Service.

SqlMigrationServicesCreateOrUpdateViaIdentity(String, ISqlMigrationService, Func<HttpResponseMessage,Task<ISqlMigrationService>,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Create or Update Database Migration Service.

SqlMigrationServicesDelete(String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Delete Database Migration Service.

SqlMigrationServicesDeleteNode(String, String, String, IDeleteNode, Func<HttpResponseMessage,Task<IDeleteNode>,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Delete the integration runtime node.

SqlMigrationServicesDeleteNodeViaIdentity(String, IDeleteNode, Func<HttpResponseMessage,Task<IDeleteNode>,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Delete the integration runtime node.

SqlMigrationServicesDeleteViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Delete Database Migration Service.

SqlMigrationServicesGet(String, String, String, Func<HttpResponseMessage, Task<ISqlMigrationService>,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Retrieve the Database Migration Service.

SqlMigrationServicesGetViaIdentity(String, Func<HttpResponseMessage, Task<ISqlMigrationService>,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Retrieve the Database Migration Service.

SqlMigrationServicesListAuthKeys(String, String, String, Func<HttpResponseMessage, Task<IAuthenticationKeys>,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Retrieve the List of Authentication Keys for Self Hosted Integration Runtime.

SqlMigrationServicesListAuthKeysViaIdentity(String, Func<HttpResponseMessage, Task<IAuthenticationKeys>,Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Retrieve the List of Authentication Keys for Self Hosted Integration Runtime.

SqlMigrationServicesListByResourceGroup(String, String, Func<HttpResponseMessage, Task<ISqlMigrationListResult>,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Retrieve all SQL migration services in the resource group.

SqlMigrationServicesListByResourceGroupViaIdentity(String, Func<HttpResponseMessage, Task<ISqlMigrationListResult>,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Retrieve all SQL migration services in the resource group.

SqlMigrationServicesListBySubscription(String, Func<HttpResponseMessage, Task<ISqlMigrationListResult>,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Retrieve all SQL migration services in the subscriptions.

SqlMigrationServicesListBySubscriptionViaIdentity(String, Func<HttpResponseMessage, Task<ISqlMigrationListResult>,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Retrieve all SQL migration services in the subscriptions.

SqlMigrationServicesListMigrations(String, String, String, Func<HttpResponseMessage, Task<IDatabaseMigrationListResult>,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Retrieve the List of database migrations attached to the service.

SqlMigrationServicesListMigrationsViaIdentity(String, Func<HttpResponseMessage, Task<IDatabaseMigrationListResult>,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Retrieve the List of database migrations attached to the service.

SqlMigrationServicesListMonitoringData(String, String, String, Func<HttpResponseMessage,Task<IIntegrationRuntimeMonitoringData>, Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Retrieve the registered Integration Runtime nodes and their monitoring data for a given Database Migration Service

SqlMigrationServicesListMonitoringDataViaIdentity(String, Func<HttpResponseMessage, Task<IIntegrationRuntimeMonitoringData>,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Retrieve the registered Integration Runtime nodes and their monitoring data for a given Database Migration Service

SqlMigrationServicesRegenerateAuthKeys(String, String, String, IRegenAuthKeys, Func<HttpResponseMessage,Task<IRegenAuthKeys>, Task>, Func<HttpResponseMessage,Task>, IEventListener, ISendAsync)

Regenerate a new set of Authentication Keys for Self Hosted Integration Runtime.

SqlMigrationServicesRegenerateAuthKeysViaIdentity(String, IRegenAuthKeys, Func<HttpResponseMessage,Task<IRegenAuthKeys>,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Regenerate a new set of Authentication Keys for Self Hosted Integration Runtime.

SqlMigrationServicesUpdate(String, String, String, ISqlMigrationServiceUpdate, Func<HttpResponseMessage,Task<ISqlMigrationService>,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Update Database Migration Service.

SqlMigrationServicesUpdateViaIdentity(String, ISqlMigrationServiceUpdate, Func<HttpResponseMessage,Task<ISqlMigrationService>,Task>, Func<HttpResponseMessage, Task>, IEventListener, ISendAsync)

Update Database Migration Service.

Applies to