CmdID / az / az datamigration / az datamigration sql-vm
az datamigration sql-vm create
Create a new database migration to a given SQL VM. Azure CLI extensions reference
11 options Its page in the Azure CLI extensions reference
Options
--migration-serviceResource Id of the Migration Service.--offline-configurationOffline configuration.--resource-group, -gName of resource group.--scopeResource Id of the target resource (SQL VM, SQL Managed Instance or SQL DB)--source-database-nameName of the source database.--source-locationSource location of backups.--source-sql-connectionSource SQL Server connection details.--sql-vm-nameName of the target SQL Virtual Machine.--target-db-collationDatabase collation to be used for the target database.--target-db-nameThe name of the target database.--target-locationTarget location for copying backups.