Microsoft.DataMigration services 2018-07-15-preview

The services resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.DataMigration/services resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.DataMigration/services@2018-07-15-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  sku: {
    capacity: int
    family: 'string'
    name: 'string'
    size: 'string'
    tier: 'string'
  kind: 'string'
  etag: 'string'
  properties: {
    publicKey: 'string'
    virtualNicId: 'string'
    virtualSubnetId: 'string'

Property values


Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
name The resource name string (required)
location Resource location. string (required)
tags Resource tags. Dictionary of tag names and values. See Tags in templates
sku An Azure SKU instance ServiceSku
kind The resource kind. Only 'vm' (the default) is supported. string
etag HTTP strong entity tag value. Ignored if submitted string
properties Properties of the Database Migration Service instance DataMigrationServiceProperties


Name Description Value
publicKey The public key of the service, used to encrypt secrets sent to the service string
virtualNicId The ID of the Microsoft.Network/networkInterfaces resource which the service have string
virtualSubnetId The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined string (required)


Name Description Value
capacity The capacity of the SKU, if it supports scaling int
family The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines string
name The unique name of the SKU, such as 'P3' string
size The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines string
tier The tier of the SKU, such as 'Basic', 'General Purpose', or 'Business Critical' string

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Migrate to Azure SQL database using Azure DMS

Deploy to Azure
The Azure Database Migration Service (DMS) is designed to streamline the process of migrating on-premises databases to Azure. DMS will simplify the migration of existing on-premises SQL Server and Oracle databases to Azure SQL Database, Azure SQL Managed Instance or Microsoft SQL Server in an Azure Virtual Machine. This template would deploy an instance of Azure Database Migration service, an Azure VM with SQL server installed on it which will act as a Source server with pre created database on it and a Target Azure SQL DB server which will have a pre-created schema of the database to be migrated from Source to Target server. The template will also deploy the required resources like NIC, vnet etc for supporting the Source VM, DMS service and Target server.
Deploy Azure Database Migration Service (DMS)

Deploy to Azure
Azure Database Migration Service is a fully managed service designed to enable seamless migrations from multiple database sources to Azure data platforms with minimal downtime (online migrations).