From 70697058f8ecb6e4378bad182d4e3452604c089e Mon Sep 17 00:00:00 2001 From: Michael Blythe Date: Fri, 26 Jun 2020 09:30:36 -0700 Subject: [PATCH 1/5] Add files for DMS template --- .../README.md | 17 ++++ .../azuredeploy.json | 78 +++++++++++++++++++ .../azuredeploy.parameters.json | 15 ++++ .../metadata.json | 9 +++ 4 files changed, 119 insertions(+) create mode 100644 101-azure-database-migration-simple-deploy/README.md create mode 100644 101-azure-database-migration-simple-deploy/azuredeploy.json create mode 100644 101-azure-database-migration-simple-deploy/azuredeploy.parameters.json create mode 100644 101-azure-database-migration-simple-deploy/metadata.json diff --git a/101-azure-database-migration-simple-deploy/README.md b/101-azure-database-migration-simple-deploy/README.md new file mode 100644 index 000000000000..6dc2fdedaaeb --- /dev/null +++ b/101-azure-database-migration-simple-deploy/README.md @@ -0,0 +1,17 @@ +# Create an Azure portal dashboard +![Azure Public Test Date](https://azurequickstartsservice.blob.core.windows.net/badges/101-azure-database-migration-simple-deploy/PublicLastTestDate.svg) +![Azure Public Test Result](https://azurequickstartsservice.blob.core.windows.net/badges/101-azure-database-migration-simple-deploy/PublicDeployment.svg) + +![Azure US Gov Last Test Date](https://azurequickstartsservice.blob.core.windows.net/badges/101-azure-database-migration-simple-deploy/FairfaxLastTestDate.svg) +![Azure US Gov Last Test Result](https://azurequickstartsservice.blob.core.windows.net/badges/101-azure-database-migration-simple-deploy/FairfaxDeployment.svg) + +![Best Practice Check](https://azurequickstartsservice.blob.core.windows.net/badges/101-azure-database-migration-simple-deploy/BestPracticeResult.svg) +![Cred Scan Check](https://azurequickstartsservice.blob.core.windows.net/badges/101-azure-database-migration-simple-deploy/CredScanResult.svg) + +[![Deploy To Azure](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/deploytoazure.svg?sanitize=true)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-azure-database-migration-simple-deploy%2Fazuredeploy.json) +[![Deploy To Azure US Gov](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/deploytoazuregov.svg?sanitize=true)](https://portal.azure.us/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-azure-database-migration-simple-deploy%2Fazuredeploy.json) +[![Visualize](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/visualizebutton.svg?sanitize=true)](http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-azure-database-migration-simple-deploy%2Fazuredeploy.json) + +Deploy Azure Database Migration Service (DMS), a fully managed service designed to enable seamless migrations from multiple database sources to Azure data platforms with minimal downtime (online migrations). + +`Tags: Azure Database Migration Service, migration` diff --git a/101-azure-database-migration-simple-deploy/azuredeploy.json b/101-azure-database-migration-simple-deploy/azuredeploy.json new file mode 100644 index 000000000000..bf1df24d496c --- /dev/null +++ b/101-azure-database-migration-simple-deploy/azuredeploy.json @@ -0,0 +1,78 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "serviceName": { + "type": "string", + "metadata": { + "description": "Name of the new migration service." + } + }, + "location": { + "type": "string", + "defaultValue": "[resourceGroup().location]", + "metadata": { + "description": "Location where the resources will be deployed." + } + }, + "vnetName": { + "type": "string", + "metadata": { + "description": "Name of the new virtual network." + } + }, + "subnetName": { + "type": "string", + "metadata": { + "description": "Name of the new subnet associated with the virtual network." + } + } + }, + "variables": { + }, + "resources": [ + { + "type": "Microsoft.Network/virtualNetworks", + "apiVersion": "2020-04-01", + "name": "[parameters('vnetName')]", + "location": "[parameters('location')]", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + } + } + }, + { + "type": "Microsoft.Network/virtualNetworks/subnets", + "apiVersion": "2020-04-01", + "name": "[concat(parameters('vnetName'), '/', parameters('subnetName'))]", + "dependsOn": [ + "[parameters('vnetName')]" + ], + "properties": { + "addressPrefix": "10.0.0.0/24" + } + }, + { + "type": "Microsoft.DataMigration/services", + "apiVersion": "2018-07-15-preview", + "name": "[parameters('serviceName')]", + "location": "[parameters('location')]", + "properties": { + "virtualSubnetId": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]" + }, + "sku": { + "tier": "Standard", + "size": "1 vCores", + "name": "Standard_1vCores" + }, + "dependsOn": [ + "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]" + ] + } + ], + "outputs": { + } +} diff --git a/101-azure-database-migration-simple-deploy/azuredeploy.parameters.json b/101-azure-database-migration-simple-deploy/azuredeploy.parameters.json new file mode 100644 index 000000000000..4803793d47de --- /dev/null +++ b/101-azure-database-migration-simple-deploy/azuredeploy.parameters.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "serviceName": { + "value": "mashatestservicename" + }, + "vnetName": { + "value": "mashatestvnetname" + }, + "subnetName": { + "value": "mashatestsubnetname" + } + } +} \ No newline at end of file diff --git a/101-azure-database-migration-simple-deploy/metadata.json b/101-azure-database-migration-simple-deploy/metadata.json new file mode 100644 index 000000000000..b0f8716f8911 --- /dev/null +++ b/101-azure-database-migration-simple-deploy/metadata.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#", + "type": "QuickStart", + "itemDisplayName": "Deploy Azure Database Migration Service (DMS)", + "description": "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).", + "summary": "Deploy Azure Database Migration Service (DMS)", + "githubUsername": "MashaMSFT", + "dateUpdated": "2020-06-26" +} \ No newline at end of file From 8be8ff064bb20d65dcd0a9573ceb806788447e83 Mon Sep 17 00:00:00 2001 From: Michael Blythe Date: Fri, 26 Jun 2020 10:02:19 -0700 Subject: [PATCH 2/5] Update to force rebuild --- .../azuredeploy.parameters.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/101-azure-database-migration-simple-deploy/azuredeploy.parameters.json b/101-azure-database-migration-simple-deploy/azuredeploy.parameters.json index 4803793d47de..94f5b797b4d0 100644 --- a/101-azure-database-migration-simple-deploy/azuredeploy.parameters.json +++ b/101-azure-database-migration-simple-deploy/azuredeploy.parameters.json @@ -3,13 +3,13 @@ "contentVersion": "1.0.0.0", "parameters": { "serviceName": { - "value": "mashatestservicename" + "value": "mashatestservicenameb" }, "vnetName": { - "value": "mashatestvnetname" + "value": "mashatestvnetnameb" }, "subnetName": { - "value": "mashatestsubnetname" + "value": "mashatestsubnetnameb" } } } \ No newline at end of file From eec9529ee2a51fb8ab83c30822a74162b80702cb Mon Sep 17 00:00:00 2001 From: Michael Blythe Date: Fri, 26 Jun 2020 10:35:44 -0700 Subject: [PATCH 3/5] Gen parameter values --- .../azuredeploy.parameters.json | 8 ++++---- 101-azure-database-migration-simple-deploy/metadata.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/101-azure-database-migration-simple-deploy/azuredeploy.parameters.json b/101-azure-database-migration-simple-deploy/azuredeploy.parameters.json index 94f5b797b4d0..785863dd54f1 100644 --- a/101-azure-database-migration-simple-deploy/azuredeploy.parameters.json +++ b/101-azure-database-migration-simple-deploy/azuredeploy.parameters.json @@ -3,13 +3,13 @@ "contentVersion": "1.0.0.0", "parameters": { "serviceName": { - "value": "mashatestservicenameb" + "value": "GEN-UNIQUE" }, "vnetName": { - "value": "mashatestvnetnameb" + "value": "GEN-UNIQUE" }, "subnetName": { - "value": "mashatestsubnetnameb" + "value": "GEN-UNIQUE" } } -} \ No newline at end of file +} diff --git a/101-azure-database-migration-simple-deploy/metadata.json b/101-azure-database-migration-simple-deploy/metadata.json index b0f8716f8911..3d84b346b774 100644 --- a/101-azure-database-migration-simple-deploy/metadata.json +++ b/101-azure-database-migration-simple-deploy/metadata.json @@ -6,4 +6,4 @@ "summary": "Deploy Azure Database Migration Service (DMS)", "githubUsername": "MashaMSFT", "dateUpdated": "2020-06-26" -} \ No newline at end of file +} From 720411d289a0c60eaa3cdbcc359f89cbbfc3a038 Mon Sep 17 00:00:00 2001 From: Michael Blythe Date: Mon, 29 Jun 2020 09:40:12 -0700 Subject: [PATCH 4/5] Correct the property order --- .../azuredeploy.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/101-azure-database-migration-simple-deploy/azuredeploy.json b/101-azure-database-migration-simple-deploy/azuredeploy.json index bf1df24d496c..ce819e41c546 100644 --- a/101-azure-database-migration-simple-deploy/azuredeploy.json +++ b/101-azure-database-migration-simple-deploy/azuredeploy.json @@ -60,9 +60,6 @@ "apiVersion": "2018-07-15-preview", "name": "[parameters('serviceName')]", "location": "[parameters('location')]", - "properties": { - "virtualSubnetId": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]" - }, "sku": { "tier": "Standard", "size": "1 vCores", @@ -70,7 +67,10 @@ }, "dependsOn": [ "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]" - ] + ], + "properties": { + "virtualSubnetId": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]" + } } ], "outputs": { From 6bf2caec7a09e3e723583217a57b76e862d41255 Mon Sep 17 00:00:00 2001 From: Michael Blythe Date: Tue, 30 Jun 2020 08:32:52 -0700 Subject: [PATCH 5/5] Add doc owner --- 101-azure-database-migration-simple-deploy/metadata.json | 1 + 1 file changed, 1 insertion(+) diff --git a/101-azure-database-migration-simple-deploy/metadata.json b/101-azure-database-migration-simple-deploy/metadata.json index 3d84b346b774..61059a6a0694 100644 --- a/101-azure-database-migration-simple-deploy/metadata.json +++ b/101-azure-database-migration-simple-deploy/metadata.json @@ -5,5 +5,6 @@ "description": "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).", "summary": "Deploy Azure Database Migration Service (DMS)", "githubUsername": "MashaMSFT", + "docOwner": "MashaMSFT", "dateUpdated": "2020-06-26" }