Description
stringlengths
19
200
IaC
stringlengths
159
7.6k
This module creates a KeyVault resource with apiVersion 2019-09-01.
{"name": "[parameters('vaultname')]", "type": "microsoft.keyvault/vaults", "apiversion": "2019-09-01", "location": "[parameters('location')]", "tags": "[parameters('tags')]", "properties": {"tenantid": "[parameters('tenantid')]", "sku": {"family": "a", "name": "[parameters('skuname')]"}, "copy": [{"name": "accesspolici...
The 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.
{"type": "microsoft.datamigration/services", "sku": {"name": "standard_4vcores", "tier": "standard", "size": "4 vcores"}, "name": "[variables('dmsservicename')]", "apiversion": "2018-07-15-preview", "location": "[parameters('location')]", "properties": {"virtualsubnetid": "[resourceid('microsoft.network/virtualnetworks...
Deploy Azure Database Migration Service (DMS)
{"type": "microsoft.datamigration/services", "apiversion": "2018-07-15-preview", "name": "[parameters('servicename')]", "location": "[parameters('location')]", "sku": {"tier": "standard", "size": "1 vcores", "name": "standard_1vcores"}, "dependson": ["[resourceid('microsoft.network/virtualnetworks/subnets", parameters(...
This template creates a storage account, backup vault, backup policy, grants necessary permission and enables protection
{"type": "microsoft.dataprotection/backupvaults", "apiversion": "2021-01-01", "name": "[parameters('vaultname')]", "location": "[parameters('location')]", "identity": {"type": "systemassigned"}, "properties": {"storagesettings": [{"datastoretype": "vaultstore", "type": "[parameters('vaultstorageredundancy')]"}]}}{"type...
This template creates a Backup Vault without any advanced features or additional resources
{"type": "microsoft.dataprotection/backupvaults", "apiversion": "2021-01-01", "name": "[parameters('vaultname')]", "location": "[parameters('location')]", "identity": {"type": "systemassigned"}, "properties": {"storagesettings": [{"datastoretype": "vaultstore", "type": "[parameters('vaultstorageredundancy')]"}]}}
This template creates a disk, backup vault, backup policy, grants necessary permission and enables protection
{"type": "microsoft.dataprotection/backupvaults", "apiversion": "2021-01-01", "name": "[parameters('vaultname')]", "location": "[parameters('location')]", "identity": {"type": "systemassigned"}, "properties": {"storagesettings": [{"datastoretype": "vaultstore", "type": "[parameters('vaultstorageredundancy')]"}]}}{"type...
Create a Data Share
{"type": "microsoft.datashare/accounts", "apiversion": "2021-08-01", "name": "[parameters('accountname')]", "location": "[parameters('location')]", "identity": {"type": "systemassigned"}}{"type": "microsoft.datashare/accounts/shares", "apiversion": "2021-08-01", "name": "[format('{0}/{1}", parameters('accountname'), pa...
Create a Data Share from a storage account
{"type": "microsoft.datashare/accounts", "apiversion": "2021-08-01", "name": "[variables('datashareaccountname')]", "location": "[parameters('location')]", "identity": {"type": "systemassigned"}, "properties": {}}{"type": "microsoft.datashare/accounts/shares", "apiversion": "2021-08-01", "name": "[format('{0}/{1}", var...
Deploy an Azure Databricks workspace and configure CMK.
{"type": "microsoft.databricks/workspaces", "apiversion": "2018-04-01", "name": "[parameters('workspacename')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('pricingtier')]"}, "properties": {"managedresourcegroupid": "[subscriptionresourceid('microsoft.resources/resourcegroups", variables('mana...
Deploy a NAT Gateway, Network Security Group, a Virtual Network and an Azure Databricks Workspace with the Virtual Network.
{"apiversion": "2018-04-01", "type": "microsoft.databricks/workspaces", "location": "[parameters('location')]", "name": "[parameters('workspacename')]", "dependson": ["[resourceid('microsoft.network/networksecuritygroups/", parameters('nsgname'))]", "[resourceid('microsoft.network/virtualnetworks/", parameters('vnetnam...
Deploy an Azure Databricks workspace.
{"type": "microsoft.databricks/workspaces", "apiversion": "2018-04-01", "name": "[parameters('workspacename')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('pricingtier')]"}, "properties": {"managedresourcegroupid": "[subscriptionresourceid('microsoft.resources/resourcegroups", variables('mana...
Deploy a Network Security Group, a Virtual Network and an Azure Databricks Workspace with the Virtual Network.
{"type": "microsoft.databricks/workspaces", "apiversion": "2018-04-01", "name": "[parameters('workspacename')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('pricingtier')]"}, "properties": {"managedresourcegroupid": "[subscriptionresourceid('microsoft.resources/resourcegroups", variables('mana...
Deploy an Azure Databricks workspace with a custom virtual network address range.
{"type": "microsoft.databricks/workspaces", "name": "[parameters('workspacename')]", "location": "[parameters('location')]", "apiversion": "2018-04-01", "sku": {"name": "[parameters('pricingtier')]"}, "properties": {"managedresourcegroupid": "[subscriptionresourceid('microsoft.resources/resourcegroups", variables('mana...
Deploy a a Load Balancer, Network Security Group, a Virtual Network and an Azure Databricks Workspace with the Virtual Network.
{"apiversion": "2018-04-01", "type": "microsoft.databricks/workspaces", "location": "[parameters('location')]", "name": "[parameters('workspacename')]", "dependson": ["[resourceid('microsoft.network/loadbalancers", parameters('loadbalancername'))]", "[resourceid('microsoft.network/networksecuritygroups/", parameters('n...
Deploy an Azure Databricks workspace with a custom virtual network.
{"comments": "the resource group specified will be locked after deployment.", "type": "microsoft.databricks/workspaces", "apiversion": "2018-04-01", "name": "[parameters('workspacename')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('pricingtier')]"}, "properties": {"managedresourcegroupid": "...
This template creates a lab in Azure DevTest Labs with a claimed Windows Server 2019 Datacenter VM
{"type": "microsoft.devtestlab/labs", "apiversion": "2018-10-15-preview", "name": "[parameters('labname')]", "location": "[parameters('location')]", "resources": [{"type": "virtualnetworks", "apiversion": "2018-10-15-preview", "name": "[variables('labvirtualnetworkname')]", "dependson": ["[resourceid('microsoft.devtest...
This template creates a lab in Azure DevTest Labs with a Windows Server 2019 Datacenter VM
{"type": "microsoft.devtestlab/labs", "apiversion": "2018-10-15-preview", "name": "[parameters('labname')]", "location": "[parameters('location')]", "resources": [{"type": "virtualnetworks", "apiversion": "2018-10-15-preview", "name": "[variables('labvirtualnetworkname')]", "dependson": ["[resourceid('microsoft.devtest...
This template takes a minimum amount of parameters and deploys 5 Node Service Fabric Cluster running Ubuntu
{"apiversion": "2017-07-01-preview", "type": "microsoft.servicefabric/clusters", "name": "[parameters('clustername')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.storage/storageaccounts/", variables('supportlogstorageaccountname'))]"], "properties": {"addonfeatures": ["dnsservice", "...
This template takes a minimum amount of parameters and deploys 5 Node Service Fabric Cluster
{"apiversion": "2019-03-01", "type": "microsoft.servicefabric/clusters", "name": "[parameters('clustername')]", "location": "[parameters('location')]", "dependson": ["[variables('supportlogstorageaccountname')]"], "tags": {"resourcetype": "service fabric", "clustername": "[parameters('clustername')]"}, "properties": {"...
This template deploys 3 Nodetype Service Fabric Cluster. it also allows you to allows you to control the inbound and outbound network traffic using Network Security Groups
{"apiversion": "2018-02-01", "type": "microsoft.servicefabric/clusters", "name": "[parameters('clustername')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.storage/storageaccounts/", variables('supportlogstorageaccountname'))]"], "properties": {"certificate": {"thumbprint": "[parameter...
This template creates a new Azure App Configuration store with one Key Vault reference.
{"type": "microsoft.appconfiguration/configurationstores", "apiversion": "2020-07-01-preview", "name": "[parameters('configstorename')]", "location": "[parameters('location')]", "sku": {"name": "standard"}, "resources": [{"type": "keyvalues", "apiversion": "2020-07-01-preview", "name": "[parameters('keyvaluename')]", "...
This template creates a new Azure App Configuration store with two key-values.
{"type": "microsoft.appconfiguration/configurationstores", "apiversion": "2020-07-01-preview", "name": "[parameters('configstorename')]", "location": "[parameters('location')]", "sku": {"name": "standard"}}{"type": "microsoft.appconfiguration/configurationstores/keyvalues", "apiversion": "2020-07-01-preview", "name": "...
This template creates a new Azure App Configuration store with one feature flag.
{"type": "microsoft.appconfiguration/configurationstores", "apiversion": "2020-07-01-preview", "name": "[parameters('configstorename')]", "location": "[parameters('location')]", "sku": {"name": "standard"}, "resources": [{"type": "keyvalues", "apiversion": "2020-07-01-preview", "name": "[concat('.appconfig.featureflag~...
This template creates a new Azure App Configuration store with three key-values controlled by a copy function.
{"type": "microsoft.appconfiguration/configurationstores", "apiversion": "2020-07-01-preview", "name": "[parameters('configstorename')]", "location": "[parameters('location')]", "sku": {"name": "standard"}}{"type": "microsoft.appconfiguration/configurationstores/keyvalues", "apiversion": "2020-07-01-preview", "name": "...
This template creates an Azure App Configuration store.
{"type": "microsoft.appconfiguration/configurationstores", "apiversion": "2019-10-01", "name": "[parameters('configstorename')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('skuname')]"}}
Create a Data Factory account, Provision SSIS runtime in Azure.
{"name": "[parameters('datafactoryname')]", "apiversion": "2018-06-01", "type": "microsoft.datafactory/factories", "location": "[parameters('location')]", "properties": {}, "resources": [{"name": "[concat(parameters('datafactoryname'), "/spazuressisir')]", "type": "microsoft.datafactory/factories/integrationruntimes", ...
This sample demonstrates copying a number of tables from Azure SQL Database to Azure SQL Data Warehouse. You can apply the same pattern in other copy scenarios as well.
{"name": "[parameters('datafactoryname')]", "apiversion": "2018-06-01", "type": "microsoft.datafactory/factories", "location": "[parameters('location')]", "properties": {}, "resources": [{"type": "linkedservices", "name": "[variables('azurestoragelinkedservicename')]", "dependson": ["[parameters('datafactoryname')]"], ...
The template creates a data factory, linked services for on-premises SQL server and Azure blob storage, datasets to represent input and output data, and then the pipeline that copies the data.
{"name": "[parameters('datafactoryname')]", "apiversion": "2018-06-01", "type": "microsoft.datafactory/factories", "location": "[parameters('datafactorylocation')]", "properties": {}, "resources": [{"type": "linkedservices", "name": "[variables('azurestoragelinkedservicename')]", "dependson": ["[parameters('datafactory...
Two-Activity Chained Data Factory Pipeline On-Prem SQL -> Azure Data Lake Store -> Azure SQL
{"name": "[variables('datafactoryname')]", "apiversion": "2015-10-01", "type": "microsoft.datafactory/datafactories", "location": "[parameters('location')]", "resources": [{"dependson": ["[resourceid('microsoft.datafactory/datafactories/", variables('datafactoryname'))]"], "type": "gateways", "apiversion": "2015-10-01"...
Create a data factory with one pipeline. Pipeline has a HDInsight Hive activity that runs hive script on an Azure HDInsight cluster to transform data.
{"name": "[variables('datafactoryname')]", "apiversion": "2015-10-01", "type": "microsoft.datafactory/datafactories", "location": "[parameters('location')]", "resources": [{"type": "linkedservices", "name": "[variables('azurestoragelinkedservicename')]", "dependson": ["[variables('datafactoryname')]"], "apiversion": "2...
Create an empty data factory
{"type": "microsoft.datafactory/factories", "apiversion": "2018-06-01", "name": "[parameters('name')]", "location": "[parameters('location')]", "identity": {"type": "systemassigned"}, "properties": {}}
Create a Data Factory account, Blob source, MySQL sink and Copy Activity Pipeline
{"name": "[parameters('datafactoryname')]", "apiversion": "2018-06-01", "type": "microsoft.datafactory/factories", "location": "[parameters('location')]", "properties": {}, "resources": [{"type": "linkedservices", "name": "[variables('azurestoragelinkedservicename')]", "dependson": ["[parameters('datafactoryname')]"], ...
Create a Data Factory, Copy from Blob to SQL with Sproc
{"name": "[variables('datafactoryname')]", "apiversion": "2015-10-01", "type": "microsoft.datafactory/datafactories", "location": "[parameters('location')]", "resources": [{"type": "linkedservices", "name": "[variables('storagelinkedservicename')]", "apiversion": "2015-10-01", "dependson": ["[variables('datafactoryname...
Create a data factory with one pipeline with the following sequence of activities: Copy -> HDInsight Hive -> Copy.
{"name": "[variables('datafactoryname')]", "apiversion": "2015-10-01", "type": "microsoft.datafactory/datafactories", "location": "west us", "resources": [{"type": "linkedservices", "name": "[variables('ftplinkedservicename')]", "dependson": ["[variables('datafactoryname')]"], "apiversion": "2015-10-01", "properties": ...
Deploy an HDInsight cluster running Linux (with Azure Storage) with an SSH public key
{"name": "[parameters('clustername')]", "type": "microsoft.hdinsight/clusters", "location": "[parameters('location')]", "apiversion": "2018-06-01-preview", "dependson": ["[resourceid('microsoft.storage/storageaccounts",variables('storageaccountname'))]"], "properties": {"clusterversion": "4.0", "ostype": "linux", "clus...
Deploy an empty edge node and add it to an existing HDInsight cluster
{"name": "[concat(parameters('clustername'),"/", variables('applicationname'))]", "type": "microsoft.hdinsight/clusters/applications", "apiversion": "2021-06-01", "properties": {"marketplaceidentifier": "emptynode", "computeprofile": {"roles": [{"name": "edgenode", "targetinstancecount": 1, "hardwareprofile": {"vmsize"...
Deploy two HBase clustes with each in its own VNet in the same region
{"name": "[variables('clusternode1').name]", "type": "microsoft.hdinsight/clusters", "location": "[parameters('location')]", "apiversion": "2018-06-01-preview", "dependson": ["[resourceid('microsoft.storage/storageaccounts/",variables('clusternode1').defaultstorageaccount.name)]", "[resourceid('microsoft.network/virtua...
Deploy an Azure VNet and an HDInsight Spark cluster within the VNet
{"type": "microsoft.hdinsight/clusters", "name": "[parameters('clustername')]", "location": "[parameters('location')]", "apiversion": "2018-06-01-preview", "dependson": ["[resourceid('microsoft.storage/storageaccounts/", variables('defaultstorageaccount').name)]", "[resourceid('microsoft.network/virtualnetworks/", vari...
Deploy a HDInsight cluster and a SQL Database
{"name": "[parameters('clustername')]", "type": "microsoft.hdinsight/clusters", "location": "[parameters('location')]", "apiversion": "2018-06-01-preview", "dependson": ["[resourceid('microsoft.storage/storageaccounts/", variables('defaultstorageaccount').name)]"], "properties": {"clusterversion": "4.0", "ostype": "lin...
Deploy a Linux-based HBase cluster with enhanced writes in Azure HDInsight
{"name": "[parameters('clustername')]", "type": "microsoft.hdinsight/clusters", "location": "[parameters('location')]", "apiversion": "2018-06-01-preview", "dependson": ["[resourceid('microsoft.storage/storageaccounts/",variables('defaultstorageaccount').name)]"], "properties": {"clusterversion": "4.0", "ostype": "linu...
Deploy an Linux-based Interative Hive cluster in HDInsight.
{"type": "microsoft.hdinsight/clusters", "apiversion": "2018-06-01-preview", "name": "[parameters('clustername')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.storage/storageaccounts/", variables('defaultstorageaccount').name)]"], "properties": {"clusterversion": "4.0", "ostype": "lin...
Deploy a Linux-based HBase cluster in Azure HDInsight
{"type": "microsoft.hdinsight/clusters", "apiversion": "2021-06-01", "name": "[parameters('clustername')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.storage/storageaccounts", variables('defaultstorageaccount').name)]"], "properties": {"clusterversion": "4.0", "ostype": "linux", "clu...
Deploy an HDInsight cluster running Linux (with Azure Storage) with an SSH password
{"type": "microsoft.hdinsight/clusters", "apiversion": "2021-06-01", "name": "[parameters('clustername')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.storage/storageaccounts",variables('defaultstorageaccount').name)]"], "properties": {"clusterversion": "4.0", "ostype": "linux", "clus...
Deploy an Azure VNet and two HDInsight Linux-based HBase clusters within the VNet
{"name": "[variables('clusternode1').name]", "type": "microsoft.hdinsight/clusters", "location": "[parameters('location')]", "apiversion": "2018-06-01-preview", "dependson": ["[resourceid('microsoft.storage/storageaccounts",variables('clusternode1').defaultstorageaccount.name)]", "[resourceid('microsoft.network/virtual...
Deploy a Linux-based Spark cluster in Azure HDInsight
{"type": "microsoft.hdinsight/clusters", "apiversion": "2018-06-01-preview", "name": "[parameters('clustername')]", "location": "[parameters('location')]", "properties": {"clusterversion": "4.0", "ostype": "linux", "tier": "standard", "clusterdefinition": {"kind": "spark", "configurations": {"gateway": {"restauthcreden...
Deploy an HDInsight cluster with an existing linked storage account
{"type": "microsoft.hdinsight/clusters", "name": "[parameters('clustername')]", "location": "[parameters('location')]", "apiversion": "2018-06-01-preview", "properties": {"clusterversion": "[parameters('clusterversion')]", "ostype": "linux", "tier": "standard", "clusterdefinition": {"kind": "[parameters('clustertype')]...
Deploy a new Linux HDInsight cluster with new Data Lake Store and Storage accounts.
{"type": "microsoft.hdinsight/clusters", "name": "[parameters('clustername')]", "location": "[parameters('location')]", "apiversion": "2021-06-01", "properties": {"clusterversion": "4.0", "ostype": "linux", "tier": "standard", "clusterdefinition": {"kind": "hadoop", "configurations": {"gateway": {"restauthcredential.is...
HDInsight cluster with TLS version 1.2 or newer
{"name": "[parameters('clustername')]", "type": "microsoft.hdinsight/clusters", "location": "[parameters('location')]", "apiversion": "2018-06-01-preview", "properties": {"clusterversion": "[parameters('clusterversion')]", "ostype": "linux", "clusterdefinition": {"kind": "hadoop", "configurations": {"gateway": {"restau...
Deploy a Linux-based HDInsight cluster with a schema registry edge node
{"name": "[parameters('clustername')]", "type": "microsoft.hdinsight/clusters", "location": "[parameters('location')]", "apiversion": "2018-06-01-preview", "dependson": ["[resourceid('microsoft.storage/storageaccounts",variables('clstgacnt'))]"], "properties": {"clusterversion": "4.0", "ostype": "linux", "clusterdefini...
Deploy an HDInsight cluster using an existing default storage account
{"type": "microsoft.hdinsight/clusters", "name": "[parameters('clustername')]", "location": "[parameters('location')]", "apiversion": "2018-06-01-preview", "properties": {"clusterversion": "[parameters('clusterversion')]", "ostype": "linux", "tier": "standard", "clusterdefinition": {"kind": "[parameters('clustertype')]...
Deploy an Azure VNet and an HDInsight Linux-based HBase cluster within the VNet
{"name": "[parameters('clustername')]", "type": "microsoft.hdinsight/clusters", "location": "[parameters('location')]", "apiversion": "2018-06-01-preview", "dependson": ["[resourceid('microsoft.storage/storageaccounts/", variables('defaultstorageaccount').name)]", "[resourceid('microsoft.network/virtualnetworks/", vari...
Creates an HDInsight cluster in an existing virtual network with a new SQL DB for Ambari+Hive Metastore. You must have an existing SQL Sever, storage account, and VNET.
{"name": "[parameters('clustername')]", "type": "microsoft.hdinsight/clusters", "location": "[parameters('location')]", "apiversion": "2018-06-01-preview", "dependson": ["sqldbdeployment"], "properties": {"clusterversion": "[parameters('clusterversion')]", "ostype": "linux", "clusterdefinition": {"kind": "hadoop", "con...
Deploy an Azure VNet and an HDInsight Linux-based Hadoop cluster within the VNet
{"type": "microsoft.hdinsight/clusters", "name": "[parameters('clustername')]", "location": "[parameters('location')]", "apiversion": "2018-06-01-preview", "dependson": ["[resourceid('microsoft.storage/storageaccounts",variables('defaultstorageaccount').name)]", "[resourceid('microsoft.network/virtualnetworks",variable...
Deploy a Kafka on HDInsight cluster in an Azure Virtual Network
{"type": "microsoft.hdinsight/clusters", "apiversion": "2018-06-01-preview", "name": "[parameters('clustername')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.storage/storageaccounts",variables('defaultstorageaccount').name)]"], "properties": {"clusterversion": "4.0", "ostype": "linux...
Creates an HDInsight cluster with Load-based Autoscale Enabled. Your cluster will scale up and down based on cluster resource need
{"type": "microsoft.hdinsight/clusters", "name": "[parameters('clustername')]", "location": "[parameters('location')]", "apiversion": "2021-06-01", "dependson": ["[resourceid('microsoft.storage/storageaccounts", variables('defaultstorageaccount').name)]"], "properties": {"clusterversion": "4.0", "ostype": "linux", "tie...
Deploy an HDInsight cluster running Linux with R Server (with Azure Storage) with an SSH password
{"type": "microsoft.hdinsight/clusters", "apiversion": "2018-06-01-preview", "name": "[parameters('clustername')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.storage/storageaccounts", variables('defaultstorageaccount').name)]"], "properties": {"clusterversion": "3.6", "ostype": "linu...
Create a Logic App using a template.
{"type": "microsoft.logic/workflows", "apiversion": "2019-05-01", "name": "[parameters('logicappname')]", "location": "[parameters('location')]", "tags": {"displayname": "[parameters('logicappname')]"}, "properties": {"definition": {"$schema": "[variables('workflowschema')]", "contentversion": "1.0.0.0", "parameters": ...
Call an Azure Function from a Logic App
{"name": "[parameters('logicappname')]", "type": "microsoft.logic/workflows", "location": "[variables('logicapplocation')]", "apiversion": "2019-05-01", "dependson": ["[resourceid('microsoft.web/sites/sourcecontrols", parameters('functionappname'), "web')]"], "tags": {"displayname": "logicapp"}, "properties": {"definit...
Creates a request-response Logic Apps which perform XSLT based transformation using parameters.
{"properties": {}, "sku": {"name": "standard"}, "name": "[parameters('integrationaccountname')]", "type": "microsoft.logic/integrationaccounts", "location": "[parameters('location')]", "apiversion": "2019-05-01"}{"properties": {"maptype": "xslt", "content": "<?xml version="1.0" encoding="utf-16"?><xsl:stylesheet xmlns:...
Create unbounded Logic Apps timer jobs
{"name": "[parameters('createtimerjoblogicappname')]", "type": "microsoft.logic/workflows", "location": "[parameters('location')]", "tags": {"displayname": "logicapp"}, "apiversion": "2019-05-01", "dependson": ["[resourceid('microsoft.logic/workflows", parameters('timerjoblogicappname'))]"], "properties": {"state": "en...
Creates a VETER (Validate, Extract, Transform) pipeline using Logic Apps
{"properties": {}, "sku": {"name": "standard"}, "name": "[parameters('integrationaccountname')]", "type": "microsoft.logic/integrationaccounts", "location": "[parameters('location')]", "apiversion": "2019-05-01"}{"properties": {"schematype": "xml", "content": "<?xml version="1.0" encoding="utf-8"?><xs:schema xmlns="htt...
Demonstrates B2B Disaster Recovery replication using Logic Apps
{"properties": {"state": "enabled", "definition": {"$schema": "https://schema.management.azure.com/providers/microsoft.logic/schemas/2016-06-01/workflowdefinition.json#", "actions": {"add_or_update_mic_contents": {"type": "apiconnection", "inputs": {"body": "@triggerbody()", "host": {"connection": {"name": "@parameters...
Run a SQL stored procedure on a schedule
{"type": "microsoft.logic/workflows", "apiversion": "2019-05-01", "name": "[parameters('logicappname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.web/connections", parameters('sqlconnectionname'))]"], "properties": {"definition": {"$schema": "https://schema.management.azure.com/pro...
A template that creates a virtual network and subnets then deploys an Integration Service Environment (ISE) including non-native connectors.
{"type": "microsoft.logic/integrationserviceenvironments", "apiversion": "2019-05-01", "name": "[parameters('integrationserviceenvironmentname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/virtualnetworks/", parameters('vnetname'))]", "[resourceid('microsoft.network/virtualn...
Copy files from an FTP server to Azure Blob
{"type": "microsoft.logic/workflows", "apiversion": "2019-05-01", "name": "[parameters('logicappname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.web/connections", parameters('azureblobconnectionname'))]", "[resourceid('microsoft.web/connections", parameters('ftpconnectionname'))]"...
Call custom APIs hosted on Azure App Service and protected by Azure Active Directory (Azure AD)
{"type": "microsoft.logic/workflows", "apiversion": "2019-05-01", "name": "[parameters('logicappname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.web/sites", parameters('webappname'))]"], "properties": {"definition": {"$schema": "https://schema.management.azure.com/providers/micros...
This template deploys and Azure Maps account and lists the primary key.
{"name": "[parameters('accountname')]", "type": "microsoft.maps/accounts", "apiversion": "2021-02-01", "location": "global", "sku": {"name": "[parameters('pricingtier')]"}, "kind": "[parameters('kind')]"}
This template deploys a Windows VM and then apply the Azure secure baseline configuration to the machine.
{"type": "microsoft.compute/virtualmachines", "apiversion": "2021-07-01", "name": "[parameters('vmname')]", "location": "[parameters('location')]", "zones": ["[parameters('zone')]"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize')]"}, "storageprofile": {"imagereference": {"publisher": "microsoftwind...
Deploy a single Windows VM with Open SSH enabled so that you can connect through SSH using key-based authentication.
{"type": "microsoft.compute/disks", "apiversion": "2020-09-30", "name": "datadisk", "location": "[parameters('location')]", "properties": {"disksizegb": "[parameters('disksizegb')]", "creationdata": {"createoption": "empty"}}, "sku": {"name": "[parameters('disksku')]"}}{"type": "microsoft.compute/virtualmachines", "api...
This template creates a VMSS placed in separate Availability Zones with a load balancer.
{"type": "microsoft.compute/virtualmachinescalesets", "apiversion": "2020-12-01", "name": "[concat('myscaleset","-zone", variables('myzones')[copyindex()])]", "location": "[parameters('location')]", "zones": ["[variables('myzones')[copyindex()]]"], "copy": {"name": "vmsscount", "count": "[length(variables('myzones'))]"...
Create an Availability Set with 3 Fault Domains
{"type": "microsoft.compute/availabilitysets", "name": "availabilityset1", "apiversion": "2020-06-01", "location": "[parameters('location')]", "properties": {"platformfaultdomaincount": 3, "platformupdatedomaincount": 20}}
This template enables encryption on a running windows vm.
{"type": "microsoft.compute/virtualmachines/extensions", "name": "[concat(parameters('vmname'),"/diskencryption')]", "apiversion": "2020-12-01", "dependson": ["[resourceid('microsoft.keyvault/vaults", parameters('keyvaultname'))]"], "location": "[parameters('location')]", "properties": {"publisher": "microsoft.azure.se...
This template takes a minimum amount of parameters and deploys a Shared Image Gallery resource.
{"type": "microsoft.compute/galleries", "name": "[parameters('galleryname')]", "apiversion": "2019-12-01", "location": "[parameters('location')]", "properties": {"description": "my private gallery"}}
Load balanced SUSE GlassFish cluster
{"apiversion": "2020-12-01", "location": "[variables('location')]", "name": "[variables('availabilitysetname')]", "sku": {"name": "aligned"}, "properties": {"platformfaultdomaincount": 2, "platformupdatedomaincount": 5}, "type": "microsoft.compute/availabilitysets"}{"apiversion": "2020-12-01", "type": "microsoft.comput...
Install and register a gateway on a Windows virtual machine using the custom script extension
{"apiversion": "2017-03-30", "type": "microsoft.compute/virtualmachines", "name": "[variables('virtualmachinename')]", "location": "[parameters('existingvnetlocation')]", "tags": {"vmname": "[variables('virtualmachinename')]"}, "dependson": ["[resourceid('microsoft.storage/storageaccounts/", variables('storageaccountna...
This template deploys a VM Scale Set of Linux VMs behind a load balancer with NAT rules for ssh connections and Auto scale integrated
{"type": "microsoft.compute/virtualmachinescalesets", "name": "[variables('naminginfix')]", "location": "[parameters('location')]", "apiversion": "2017-03-30", "dependson": ["[resourceid('microsoft.network/loadbalancers/", variables('loadbalancername'))]", "[resourceid('microsoft.network/virtualnetworks/", variables('v...
This template creates a new ultra managed disk allowing the user to specify a sector size of either 512 or 4096.
{"type": "microsoft.compute/disks", "apiversion": "2020-09-30", "name": "[parameters('manageddiskname')]", "location": "[parameters('location')]", "sku": {"name": "ultrassd_lrs"}, "properties": {"creationdata": {"createoption": "empty", "logicalsectorsize": "[parameters('logicalsectorsize')]"}, "disksizegb": "[paramete...
This template deploys a VM Scale Set of Linux VMs behind an internal load balancer with NAT rules for ssh connections.
{"type": "microsoft.compute/virtualmachines", "name": "[variables('jumpboxname')]", "location": "[parameters('location')]", "apiversion": "2020-06-01", "dependson": ["[resourceid('microsoft.storage/storageaccounts/", variables('jumpboxsaname'))]", "[resourceid('microsoft.network/networkinterfaces/", variables('jumpboxn...
This template allows you to deploy a Linux VMSS in master slave architecture
{"type": "microsoft.compute/virtualmachinescalesets", "sku": {"name": "[parameters('masternodesku')]", "tier": "standard", "capacity": "[parameters('masternodecount')]"}, "name": "[concat(variables('vmssname'), "-master-node')]", "apiversion": "2017-12-01", "location": "[parameters('location')]", "properties": {"upgrad...
Create VMs in Availability Sets using Resource Loops
{"type": "microsoft.compute/availabilitysets", "name": "[concat(variables('availabilitysetname'), "-", copyindex())]", "apiversion": "2020-06-01", "location": "[parameters('location')]", "copy": {"name": "asloop", "count": 2}, "properties": {"platformfaultdomaincount": 2, "platformupdatedomaincount": 2}, "sku": {"name"...
This template will deploy RedHat (RHEL) VM, using the Pay-As-You-Go RHEL VM image. Additional charges apply.
{"apiversion": "2020-06-01", "type": "microsoft.compute/virtualmachines", "name": "[parameters('vmname')]", "location": "[parameters('location')]", "tags": {"tag1": "managedvm"}, "dependson": ["[resourceid('microsoft.network/networkinterfaces/", variables('nicname'))]"], "properties": {"hardwareprofile": {"vmsize": "[p...
This template takes a minimum amount of parameters and deploys a Linux VM to show how to dynamically assign a static IP address.
{"apiversion": "2019-12-01", "type": "microsoft.compute/virtualmachines", "name": "[variables('vmname')]", "location": "[parameters('location')]", "dependson": ["updateip"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize')]"}, "osprofile": {"computername": "[variables('vmname')]", "adminusername": "[...
Create a VM from a Windows Image with N Empty Data Disks
{"type": "microsoft.compute/virtualmachines", "apiversion": "2021-07-01", "name": "[parameters('virtualmachinename')]", "location": "[parameters('location')]", "properties": {"hardwareprofile": {"vmsize": "[parameters('virtualmachinesize')]"}, "osprofile": {"computername": "[parameters('virtualmachinename')]", "adminus...
This template disables data disk encryption on a running Linux VM which was encrypted without AAD
{"type": "microsoft.compute/virtualmachines/extensions", "name": "[concat(parameters('vmname'),"/","azurediskencryptionforlinux')]", "location": "[parameters('location')]", "apiversion": "2020-12-01", "properties": {"publisher": "microsoft.azure.security", "type": "azurediskencryptionforlinux", "typehandlerversion": "1...
This template deploys a Windows Server VM and also deploys Visual Studio Community 2019.
{"name": "[parameters('vmname')]", "type": "microsoft.compute/virtualmachines", "apiversion": "2019-12-01", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces/", variables('networkinterfacename'))]"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize'...
This template takes a minimum amount of parameters and deploys a trusted launch capable Linux virtual machine, using the latest patched version.
{"type": "microsoft.compute/virtualmachines", "apiversion": "2020-12-01", "name": "[parameters('vmname')]", "location": "[parameters('location')]", "identity": {"type": "systemassigned"}, "dependson": ["[resourceid('microsoft.network/networkinterfaces/", parameters('nicname'))]"], "properties": {"hardwareprofile": {"vm...
2 VMs in VNET - Internal Load Balancer and LB rules
{"type": "microsoft.compute/availabilitysets", "apiversion": "2020-06-01", "name": "[variables('availabilitysetname')]", "location": "[parameters('location')]", "sku": {"name": "aligned"}, "properties": {"platformupdatedomaincount": 2, "platformfaultdomaincount": 2}}{"type": "microsoft.compute/virtualmachines", "apiver...
This template deploys a VM Scale Set of Linux VMs behind a load balancer with NAT rules for ssh connections.
{"type": "microsoft.compute/virtualmachinescalesets", "name": "[variables('naminginfix')]", "location": "[parameters('location')]", "apiversion": "2017-03-30", "dependson": ["[resourceid('microsoft.network/loadbalancers/", variables('loadbalancername'))]", "[resourceid('microsoft.network/virtualnetworks/", variables('v...
Create a VM from a specialized VHD and connect it to a new or existing virtual network
{"type": "microsoft.compute/disks", "apiversion": "2018-09-30", "name": "[variables('diskname')]", "location": "[parameters('location')]", "properties": {"creationdata": {"createoption": "import", "sourceuri": "[parameters('osdiskvhduri')]"}, "ostype": "[parameters('ostype')]"}}{"apiversion": "2018-10-01", "type": "mic...
Push a certificate onto a Windows VM
{"apiversion": "2019-07-01", "type": "microsoft.compute/virtualmachines", "name": "[parameters('vmname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces", variables('nicname'))]"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize')]"}, "osprofi...
Enable data volume encryption on a running Linux VMSS
{"type": "microsoft.compute/virtualmachinescalesets", "name": "[parameters('vmssname')]", "location": "[parameters('location')]", "apiversion": "2021-04-01", "sku": {"name": "standard_d2_v3", "tier": "standard", "capacity": 2}, "properties": {"virtualmachineprofile": {"extensionprofile": {"extensions": [{"name": "[vari...
Create a VM from a EfficientIP VHD and connect it to an existing virtual network
{"type": "microsoft.compute/disks", "apiversion": "2017-03-30", "name": "[concat(parameters('vmname'), "_osdisk')]", "location": "[parameters('location')]", "properties": {"creationdata": {"createoption": "import", "sourceuri": "[parameters('osdiskvhduri')]"}, "ostype": "[parameters('ostype')]"}}{"apiversion": "2017-03...
Disables encryption on an existing Linux VMSS
{"type": "microsoft.compute/virtualmachinescalesets", "name": "[parameters('vmssname')]", "location": "[parameters('location')]", "apiversion": "2020-12-01", "sku": {"name": "standard_d2_v3", "tier": "standard", "capacity": 2}, "properties": {"virtualmachineprofile": {"extensionprofile": {"extensions": [{"name": "[vari...
Create a Virtual Machine from a User Image
{"type": "microsoft.compute/images", "apiversion": "2019-12-01", "name": "[variables('imagename')]", "location": "[parameters('location')]", "properties": {"storageprofile": {"osdisk": {"ostype": "[parameters('ostype')]", "osstate": "generalized", "bloburi": "[parameters('osdiskvhduri')]", "storageaccounttype": "standa...
This template deploys a VM Scale Set of Linux VMs with a load balancer health probe and automatic instance repairs enabled.
{"type": "microsoft.compute/virtualmachinescalesets", "apiversion": "2019-03-01", "name": "[parameters('vmssname')]", "location": "[parameters('location')]", "tags": {"vmsstag": "automaticrepairs"}, "dependson": ["[resourceid('microsoft.network/loadbalancers/", variables('lbname'))]", "[resourceid('microsoft.network/vi...
SQL Server 2014 SP2 Enterprise edition with Auto Backup feature enabled
{"name": "[parameters('virtualmachinename')]", "type": "microsoft.compute/virtualmachines", "apiversion": "2020-06-01", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces/", parameters('networkinterfacename'))]"], "properties": {"osprofile": {"computername": "[parame...
Template for deploying VMSS with Public IP Prefix
{"type": "microsoft.compute/virtualmachinescalesets", "apiversion": "2020-06-01", "name": "[parameters('vmssname')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('vmsku')]", "tier": "standard", "capacity": "[parameters('instancecount')]"}, "properties": {"overprovision": false, "upgradepolicy":...
SQL Server 2014 SP1 Enterprise edition with Azure Key Vault Integration feature enabled
{"name": "[parameters('virtualmachinename')]", "type": "microsoft.compute/virtualmachines", "apiversion": "2020-12-01", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces", parameters('networkinterfacename'))]"], "properties": {"osprofile": {"computername": "[paramet...
This template allows you to deploy a simple VM (Windows or Ubuntu), using the latest patched version.
{"type": "microsoft.compute/virtualmachines", "apiversion": "2020-06-01", "name": "[parameters('vmname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces", variables('networkinterfacename'))]"], "zones": ["[parameters('zone')]"], "properties": {"hardwareprofile"...
This template enables encryption on a running Windows VM Scale Set
{"type": "microsoft.compute/virtualmachinescalesets/extensions", "name": "[concat(parameters('vmssname'),"/diskencryption')]", "apiversion": "2020-12-01", "dependson": ["[resourceid('microsoft.keyvault/vaults", parameters('keyvaultname'))]"], "location": "[parameters('location')]", "properties": {"publisher": "microsof...