Description stringlengths 21 195 | IaC stringlengths 201 6.84k |
|---|---|
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-08-01", "type": "microsoft.network/networksecuritygroups", "name": "[variables('securitygroupname')]", "location": "[parameters('location')]", "properties": {"securityrules": [{"name": "ssh", "properties": {"description": "allows ssh traffic", "protocol": "tcp", "sourceportrange": "*", "destination... |
This template deploys a Disk pool into an exsisting vnet. | {"type": "microsoft.storagepool/diskpools", "apiversion": "2021-08-01", "name": "[parameters('diskpoolname')]", "sku": {"name": "[parameters('diskpoolsku')]"}, "location": "[parameters('diskpoollocation')]", "properties": {"availabilityzones": ["[parameters('diskpoolavailabilityzone')]"], "subnetid": "[variables('subne... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/publicipaddresses", "apiversion": "2019-11-01", "name": "vslab-publicip", "location": "[parameters('location')]", "tags": {"displayname": "publicipaddress"}, "properties": {"publicipallocationmethod": "dynamic", "dnssettings": {"domainnamelabel": "[variables('vm-dns')]"}}}{"type": "microsoft... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"type": "microsoft.compute/virtualmachines", "apiversion": "2019-07-01", "name": "[parameters('vm_name')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces", parameters('nic_name'))]"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize')]"}, "stor... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"name": "provisionconfiguration", "type": "microsoft.resources/deployments", "apiversion": "2018-02-01", "properties": {"mode": "incremental", "templatelink": {"uri": "[variables('provisionconfigurationurl')]", "contentversion": "1.0.0.0"}, "parameters": {"_artifactslocation": {"value": "[parameters('_artifactslocatio... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/virtualnetworks", "apiversion": "2020-06-01", "name": "[variables('vnetname')]", "location": "[variables('location')]", "properties": {"addressspace": {"addressprefixes": ["172.16.0.0/16"]}, "enableddosprotection": false, "enablevmprotection": false, "subnets": [{"name": "[parameters('fronte... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"apiversion": "2020-12-01", "type": "microsoft.compute/virtualmachines", "name": "[variables('vmname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces/", variables('nicname'))]"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize')]"}, "osprofi... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"type": "microsoft.resources/deployments", "apiversion": "2020-10-01", "dependson": ["microsoft.resources/deployments/networktemplate"], "name": "dbtemplate", "properties": {"mode": "incremental", "parameters": {"maharacommon": {"value": "[variables('maharacommon')]"}, "lbpubip": {"value": "[reference('networktemplate... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2015-06-15", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "[variables('publicipaddresstype')]", "dnssettings": {"domainnamelabel": "[parameters('dnslabelprefix')]"}}}{"comme... |
Create a SQL Server Virtual Machine with performance optimized storage settings on PremiumSSD | {"type": "microsoft.sqlvirtualmachine/sqlvirtualmachines", "apiversion": "2017-03-01-preview", "name": "[parameters('virtualmachinename')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.compute/virtualmachines", parameters('virtualmachinename'))]"], "properties": {"virtualmachineresourc... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/networkinterfaces", "apiversion": "2020-08-01", "name": "[variables('networkinterfacename')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/publicipaddresses", variables('publicipaddressename'))]", "[resourceid('microsoft.network/virtualnetworks/subne... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-04-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "[variables('publicipaddresstype')]", "dnssettings": {"domainnamelabel": "[concat(tolower(parameters('vmname')), un... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"type": "microsoft.compute/virtualmachinescalesets", "apiversion": "2020-06-01", "name": "[variables('vmnodetype0name')]", "location": "[parameters('location')]", "sku": {"name": "[variables('vmnodetype0size')]", "capacity": "[parameters('nt0instancecount')]", "tier": "standard"}, "dependson": ["[variables('virtualnet... |
This template deploys a Custom Linux Image behind a load balancer with HTTP load balancing rules and an update script for deploying and updating an app. | {"type": "microsoft.compute/images", "apiversion": "2020-06-01", "name": "[variables('imagename')]", "location": "[parameters('location')]", "properties": {"hypervgeneration": "v1", "storageprofile": {"osdisk": {"ostype": "linux", "osstate": "generalized", "bloburi": "[parameters('sourceimagevhduri')]", "storageaccount... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"type": "microsoft.storage/storageaccounts", "apiversion": "2021-02-01", "name": "[parameters('storageaccountname')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('storageskuname')]", "tier": "[parameters('storageskutier')]"}, "kind": "[parameters('storagekind')]", "properties": {"accesstier":... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2016-03-30", "type": "microsoft.network/networksecuritygroups", "name": "[variables('vmnsgname')]", "location": "[parameters('location')]", "properties": {"securityrules": [{"name": "ssh", "properties": {"description": "allows ssh traffic", "protocol": "tcp", "sourceportrange": "22", "destinationportran... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"type": "microsoft.storage/storageaccounts", "name": "[parameters('newstorageaccountname')]", "apiversion": "2021-02-01", "location": "[parameters('location')]", "sku": {"name": "[variables('storageaccounttype')]"}} |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"name": "[variables('chefbeavailname')]", "type": "microsoft.compute/availabilitysets", "location": "[resourcegroup().location]", "apiversion": "2017-12-01", "dependson": [], "tags": {"displayname": "beavailset", "provider": "[variables('tagvalues').provider]"}, "sku": {"name": "aligned"}, "properties": {"platformupda... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2015-06-15", "type": "microsoft.network/publicipaddresses", "name": "[concat(variables('publicipaddressname'), copyindex())]", "location": "[parameters('location')]", "copy": {"name": "publiciploop", "count": 1}, "tags": {"displayname": "publicipaddress"}, "properties": {"publicipallocationmethod": "[va... |
Deploy SQL Always ON setup with existing SQL Virtual Machines. | {"type": "microsoft.sqlvirtualmachine/sqlvirtualmachines", "apiversion": "2017-03-01-preview", "name": "[trim(variables('existingvmlistarray')[copyindex()])]", "location": "[parameters('location')]", "copy": {"name": "sqlvirtualmachineloop", "count": "[length(variables('existingvmlistarray'))]"}, "properties": {"virtua... |
Create an Application Gateway with Public IP | {"apiversion": "2020-05-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "dynamic"}}{"apiversion": "2020-05-01", "type": "microsoft.network/virtualnetworks", "name": "[variables('virtualne... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"type": "microsoft.compute/virtualmachines", "apiversion": "2020-12-01", "name": "[variables('vmname')[copyindex()]]", "location": "[parameters('location')]", "zones": ["[copyindex(1)]"], "dependson": ["nicloop"], "copy": {"name": "vmloop", "count": 2}, "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"apiversion": "2017-03-30", "type": "microsoft.compute/virtualmachines", "name": "[variables('vmname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.storage/storageaccounts", variables('storageaccountname'))]", "[resourceid('microsoft.network/networkinterfaces", variables('nicname'))... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"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 creates an automation rule that triggers on incident creation (with certain conditions), executes a playbook and modifies two incident properies | {"type": "microsoft.securityinsights/automationrules", "name": "[variables('automationruleguid')]", "scope": "[concat('microsoft.operationalinsights/workspaces/", parameters('existingworkspacename'))]", "apiversion": "2019-01-01-preview", "properties": {"displayname": "[parameters('automationrulename')]", "order": 2, "... |
This module creates a storageAccount resource with apiVersion 2021-01-01. | {"apiversion": "2021-04-01", "type": "microsoft.storage/storageaccounts", "name": "[variables('storageaccountname')]", "location": "[variables('location')]", "sku": {"name": "standard_ragrs"}, "kind": "storagev2", "properties": {"supportshttpstrafficonly": false, "accesstier": "hot", "encryption": {"services": {"blob":... |
Creates a new VM with two NICs which connect to two different subnets within the same VNet. | {"type": "microsoft.compute/virtualmachines", "apiversion": "2020-06-01", "name": "[variables('virtualmachinename')]", "location": "[parameters('location')]", "properties": {"osprofile": {"computername": "[variables('virtualmachinename')]", "adminusername": "[parameters('adminusername')]", "adminpassword": "[parameters... |
Provision an Azure Cognitive Search service | {"type": "microsoft.search/searchservices", "apiversion": "2020-08-01", "name": "[parameters('name')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('sku')]"}, "properties": {"replicacount": "[parameters('replicacount')]", "partitioncount": "[parameters('partitioncount')]", "hostingmode": "[para... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"type": "microsoft.compute/virtualmachines", "apiversion": "2020-12-01", "name": "[variables('vns3controllername')]", "location": "[parameters('location')]", "plan": {"name": "cohesive-vns3-4_11_x-free", "product": "vns3_4x_network_security", "publisher": "cohesive"}, "dependson": ["[resourceid('microsoft.network/netw... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"type": "microsoft.compute/virtualmachines", "apiversion": "2020-06-01", "name": "[concat(variables('virtualmachines_myvm_name'), copyindex(1))]", "location": "[parameters('location')]", "copy": {"name": "vm-loop", "count": 2}, "dependson": ["[resourceid('microsoft.network/networkinterfaces", concat(variables('net_int... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"type": "microsoft.storage/storageaccounts", "name": "[variables('newstorageaccount')]", "apiversion": "2021-02-01", "location": "[parameters('location')]", "sku": {"name": "[variables('storageaccounttype')]"}} |
Create a VM from a Windows Image with 4 Empty Data Disks | {"apiversion": "2017-03-30", "type": "microsoft.compute/virtualmachines", "name": "[variables('vmname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.storage/storageaccounts/", variables('storageaccountname'))]", "[resourceid('microsoft.network/networkinterfaces/", variables('nicname'... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"apiversion": "2019-10-01", "type": "microsoft.resources/deployments", "name": "[variables('solacesecuritytemplatename')]", "properties": {"mode": "incremental", "templatelink": {"uri": "[variables('securitysharedtemplateuri')]", "contentversion": "1.0.0.0"}, "parameters": {"securitygroupname": {"value": "[parameters(... |
This template creates a Service Bus namespace and 2 queues and sets auto forwarding. | {"apiversion": "2017-04-01", "name": "[parameters('servicebusnamespacename')]", "type": "microsoft.servicebus/namespaces", "location": "[parameters('location')]", "sku": {"name": "standard"}, "properties": {}, "resources": [{"apiversion": "2017-04-01", "name": "[parameters('servicebusqueuename1')]", "type": "queues", "... |
This module creates a storageAccount resource with apiVersion 2021-01-01. | {"apiversion": "2021-04-01", "type": "microsoft.storage/storageaccounts", "name": "[variables('newstorageaccountname')]", "location": "[parameters('location')]", "sku": {"name": "[variables('storageaccounttype')]"}} |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-05-01", "name": "[variables('lbname')]", "type": "microsoft.network/loadbalancers", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/publicipaddresses/", variables('publicipaddressname'))]"], "properties": {"frontendipconfigurations": [{"name": "loadbalancerfron... |
This template creates a data collection rule defining the data source (Syslog) and the destination workspace. | {"type": "microsoft.insights/components", "apiversion": "2020-02-02", "name": "[variables('applicationinsightsname')]", "location": "[if(or(equals(parameters('location'),"eastus2'), equals(parameters('location'),"westcentralus')),"southcentralus",parameters('location'))]", "kind": "web", "properties": {"application_typ... |
which shows how we can correlate messages over Logic Apps using Azure Service Bus | {"type": "microsoft.logic/workflows", "apiversion": "2019-05-01", "name": "[parameters('logicappname')]", "dependson": ["[resourceid('microsoft.web/connections", parameters('slackconnectionname'))]"], "location": "[parameters('location')]", "properties": {"definition": {"$schema": "https://schema.management.azure.com/p... |
Create and assign a standard App Service Certificate | {"type": "microsoft.web/sites/domainownershipidentifiers", "name": "[concat(parameters('existingappname'), concat('/", parameters('certificateordername')))]", "apiversion": "2016-08-01", "location": "[parameters('existingapplocation')]", "dependson": ["[resourceid('microsoft.certificateregistration/certificateorders", ... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"name": "[variables('blobstorageaccountname')]", "type": "microsoft.storage/storageaccounts", "apiversion": "2019-06-01", "tags": {"displayname": "[variables('blobstorageaccountname')]"}, "location": "[parameters('location')]", "kind": "storagev2", "sku": {"name": "standard_lrs", "tier": "standard"}, "properties": {"n... |
This template creates a data collection rule defining the data source (Syslog) and the destination workspace. | {"type": "microsoft.insights/actiongroups", "apiversion": "2019-06-01", "name": "[parameters('actiongroupname')]", "location": "global", "properties": {"groupshortname": "[parameters('actiongroupshortname')]", "enabled": true, "emailreceivers": [{"name": "emailreceiver", "emailaddress": "[parameters('emailaddress')]"}]... |
This template creates a Service Bus namespace and a queue. | {"type": "microsoft.servicebus/namespaces", "apiversion": "2017-04-01", "name": "[parameters('servicebusnamespacename')]", "location": "[parameters('location')]", "sku": {"name": "standard"}, "properties": {}}{"type": "microsoft.servicebus/namespaces/queues", "apiversion": "2017-04-01", "name": "[format('{0}/{1}", para... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2015-05-01-preview", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[variables('location')]", "properties": {"publicipallocationmethod": "[variables('publicipaddresstype')]", "dnssettings": {"domainnamelabel": "[variables('uniquednsnameforpublic... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"type": "microsoft.resources/deployments", "name": "storageaccount", "apiversion": "2021-01-01", "properties": {"mode": "incremental", "templatelink": {"uri": "[uri(parameters('_artifactslocation'),concat('nested/storageaccount.json", parameters('_artifactslocationsastoken')))]", "contentversion": "1.0.0.0"}, "paramet... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"apiversion": "2019-12-01", "type": "microsoft.compute/availabilitysets", "name": "[variables('availabilitysetnodes')]", "location": "[parameters('location')]", "properties": {"platformfaultdomaincount": 2, "platformupdatedomaincount": 5}, "sku": {"name": "aligned"}} |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2021-03-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "[variables('publicipaddresstype')]", "dnssettings": {"domainnamelabel": "[parameters('dnslabelprefix')]"}}}{"apive... |
Application Gateway routing Internet traffic to a virtual network (internal mode) API Management instance which services a web API hosted in an Azure Web App. | {"type": "microsoft.web/serverfarms", "apiversion": "2020-06-01", "name": "[parameters('hostingplanlivesite')]", "location": "[parameters('location')]", "tags": {"displayname": "hostingplan"}, "sku": {"name": "[parameters('pricingtierlivesite')]", "capacity": 1}, "properties": {"name": "[parameters('hostingplanlivesite... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-05-01", "type": "microsoft.network/publicipaddresses", "name": "[concat(variables('publicipname'), copyindex())]", "copy": {"name": "publiciploop", "count": "[variables('numberofinstances')]"}, "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "dynamic"}}{"apiversio... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"type": "microsoft.compute/virtualmachines", "name": "[variables('vm01name')]", "apiversion": "2019-12-01", "location": "[parameters('location')]", "tags": {"displayname": "iis01"}, "dependson": ["[resourceid('microsoft.network/networkinterfaces/", concat(variables('vm01name'), "_nic'))]"], "properties": {"hardwarepro... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-04-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "[variables('publicipaddresstype')]", "dnssettings": {"domainnamelabel": "[concat(tolower(parameters('vmname')), un... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"apiversion": "2015-01-01", "name": "[variables('nesteddeploymentnamevnet')]", "type": "microsoft.resources/deployments", "properties": {"mode": "incremental", "templatelink": {"uri": "[concat(variables('github'), parameters('neworexistingsubnet'), "vnet.json')]", "contentversion": "1.0.0.0"}, "parameters": {"vnetname... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"type": "microsoft.resources/deployments", "apiversion": "2019-10-01", "name": "ansibleroleassignment", "dependson": ["[resourceid('microsoft.compute/virtualmachines", variables('ansible_vm_name'))]", "[resourceid('microsoft.resources/deployments","ansibleaccesspolicy')]"], "properties": {"mode": "incremental", "templ... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"name": "shared-resources", "type": "microsoft.resources/deployments", "apiversion": "2020-08-01", "properties": {"mode": "incremental", "templatelink": {"uri": "[uri(parameters('_artifactslocation'), concat(variables('sharedtemplatename'), ".json", parameters('_artifactslocationsastoken')))]", "contentversion": "1.0.... |
This module creates a storageAccount resource with apiVersion 2021-01-01. | {"type": "microsoft.storage/storageaccounts", "name": "[variables('clusterstorageaccountname')]", "apiversion": "2021-04-01", "location": "[parameters('location')]", "sku": {"name": "[variables('storageaccounttype')]"}, "kind": "storagev2"} |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"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... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"apiversion": "2017-03-30", "type": "microsoft.compute/virtualmachines", "name": "[parameters('vmname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.storage/storageaccounts/", parameters('newstorageaccountname'))]", "[resourceid('microsoft.network/networkinterfaces/", parameters('ni... |
This module creates a storageAccount resource with apiVersion 2021-01-01. | {"type": "microsoft.storage/storageaccounts", "apiversion": "2019-06-01", "name": "[parameters('storageaccountname')]", "location": "[parameters('location')]", "sku": {"name": "standard_lrs", "tier": "standard"}, "kind": "storagev2", "properties": {"networkacls": {"bypass": "none", "virtualnetworkrules": [{"id": "[vari... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"apiversion": "2019-12-01", "type": "microsoft.compute/virtualmachines", "name": "[parameters('vmname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces/", parameters('nicname'))]"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize')]"}, "ospro... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-08-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "[variables('publicipaddresstype')]", "dnssettings": {"domainnamelabel": "[parameters('dnslabelprefix')]"}}}{"comme... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/networksecuritygroups", "apiversion": "2020-06-01", "name": "[variables('networksecuritygroupname')]", "location": "[parameters('location')]", "properties": {"securityrules": [{"name": "allow_tds_inbound", "properties": {"description": "allow access to data", "protocol": "tcp", "sourceportra... |
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 module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"type": "microsoft.compute/virtualmachines", "apiversion": "2019-07-01", "name": "[variables('vmnames')[copyindex()]]", "location": "[parameters('location')]", "copy": {"name": "vmloop", "count": 3}, "dependson": ["nicloop"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize')]"}, "osprofile": {"comput... |
This template creates a Machine Learning Service ADLA Compute. | {"type": "microsoft.machinelearningservices/workspaces", "apiversion": "2020-08-01", "name": "[parameters('workspacename')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.insights/components", parameters('applicationinsightsname'))]", "[resourceid('microsoft.keyvault/vaults", parameters... |
Establish connection to a VNET via an ExpressRoute circuit | {"condition": "[equals(parameters('neworexistingnetwork'), "new')]", "type": "microsoft.network/virtualnetworks", "name": "[parameters('virtualnetworkname')]", "location": "[parameters('location')]", "tags": {"displayname": "virtualnetwork", "app": "[variables('redhattags').app]", "version": "[variables('redhattags').v... |
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... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"type": "microsoft.compute/disks", "apiversion": "2019-11-01", "name": "[concat(parameters('virtualmachinename'),"-datadisk-ultrassd-",copyindex())]", "location": "[parameters('location')]", "sku": {"name": "ultrassd_lrs"}, "zones": ["[parameters('zone')]"], "properties": {"creationdata": {"createoption": "empty"}, "d... |
Deploy a new SQL Elastic Pool. | {"type": "microsoft.sql/servers", "apiversion": "2020-02-02-preview", "location": "[parameters('location')]", "name": "[parameters('servername')]", "properties": {"administratorlogin": "[parameters('administratorlogin')]", "administratorloginpassword": "[parameters('administratorloginpassword')]", "version": "12.0"}}{"... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"type": "microsoft.compute/availabilitysets", "name": "[variables('webavailsetname')]", "apiversion": "2017-12-01", "location": "[parameters('location')]", "comments": "this is the availability set for all web vms", "tags": {"displayname": "web avail set", "quickstartname": "[variables('quickstarttags').name]", "provi... |
Application Gateway routing Internet traffic to a virtual network (internal mode) API Management instance which services a web API hosted in an Azure Web App. | {"type": "microsoft.web/serverfarms", "apiversion": "2020-06-01", "name": "[parameters('hostingplanlivesite')]", "location": "[parameters('location')]", "tags": {"displayname": "hostingplan"}, "sku": {"name": "[parameters('pricingtierlivesite')]", "capacity": 1}, "properties": {"name": "[parameters('hostingplanlivesite... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/networksecuritygroups", "apiversion": "2020-05-01", "name": "[parameters('nsgname')]", "location": "[parameters('location')]", "properties": {"securityrules": [{"name": "microsoft.databricks-workspaces_useonly_databricks-worker-to-worker-inbound", "properties": {"description": "required for ... |
This template creates a standard internal Azure Load Balancer with a HA ports load-balancing rule | {"apiversion": "2020-05-01", "type": "microsoft.network/virtualnetworks", "name": "[variables('virtualnetworkname')]", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["[parameters('vnetaddressprefix')]"]}, "subnets": [{"name": "[variables('subnetname')]", "properties": {"addr... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"type": "microsoft.compute/availabilitysets", "name": "[variables('availabilitysetname')]", "apiversion": "2017-12-01", "location": "[parameters('location')]", "sku": {"name": "aligned"}, "properties": {"platformfaultdomaincount": 2, "platformupdatedomaincount": 5}}{"name": "[variables('vmname1')]", "type": "microsoft... |
This template creates a EventHubs namespace, an Event Hub, a consumer group and authorizationRules | {"apiversion": "2018-01-01-preview", "name": "[parameters('namespacename')]", "type": "microsoft.eventhub/namespaces", "location": "[parameters('location')]", "sku": {"name": "standard"}, "properties": {"isautoinflateenabled": true, "maximumthroughputunits": 7}, "resources": [{"apiversion": "2017-04-01", "name": "[para... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"name": "[parameters('storageaccountname')]", "type": "microsoft.storage/storageaccounts", "location": "[parameters('location')]", "apiversion": "2015-06-15", "tags": {"displayname": "storageaccount"}, "properties": {"accounttype": "[parameters('storageaccounttype')]"}} |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/networksecuritygroups", "apiversion": "2020-05-01", "name": "[parameters('networksecuritygroupname')]", "location": "[parameters('location')]", "properties": {"securityrules": [{"name": "ssh", "properties": {"priority": 1000, "protocol": "tcp", "access": "allow", "direction": "inbound", "sou... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"apiversion": "2019-12-01", "type": "microsoft.compute/virtualmachines", "name": "[concat(parameters('dnsname'), copyindex())]", "zones": "[split(string(add(mod(copyindex(),3),1)), ",')]", "copy": {"name": "virtualmachineloop", "count": "[parameters('numberofvms')]"}, "location": "[parameters('location')]", "dependson... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"apiversion": "2020-12-01", "type": "microsoft.compute/virtualmachines", "name": "[variables('vmname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.storage/storageaccounts/", variables('newstorageaccountname'))]", "[resourceid('microsoft.network/networkinterfaces/", variables('nicna... |
Deploy an App Service that supports Python. It gives you the support to deploy your own Flask app. | {"apiversion": "2020-06-01", "name": "[parameters('webappname')]", "type": "microsoft.web/sites", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.web/serverfarms/", variables('hostingplanname'))]"], "properties": {"name": "[parameters('webappname')]", "siteconfig": {"linuxfxversion": "[var... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-11-01", "type": "microsoft.network/publicipaddresses", "name": "[concat('publicip", copyindex())]", "location": "[parameters('location')]", "copy": {"name": "foo", "count": "[parameters('scalenumber')]"}, "properties": {"publicipallocationmethod": "[variables('publicipaddresstype')]"}}{"comments": ... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"apiversion": "2017-03-30", "type": "microsoft.compute/virtualmachines", "name": "[variables('vmname')]", "location": "[parameters('location')]", "dependson": ["[concat('microsoft.storage/storageaccounts/", parameters('newstorageaccountname'))]", "[concat('microsoft.network/networkinterfaces/", variables('nicname'))]"... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"type": "microsoft.compute/virtualmachines", "name": "[variables('jumpboxname')]", "location": "[parameters('location')]", "apiversion": "2020-12-01", "dependson": ["[resourceid('microsoft.storage/storageaccounts", variables('jumpboxsaname'))]", "[resourceid('microsoft.network/networkinterfaces", variables('jumpboxnic... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2015-06-15", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "[variables('publicipaddresstype')]", "dnssettings": {"domainnamelabel": "[parameters('nameprefix')]"}}}{"apiversio... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-07-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "[variables('publicipaddresstype')]", "dnssettings": {"domainnamelabel": "[parameters('dnslabelprefix')]"}}}{"apive... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"type": "microsoft.storage/storageaccounts", "name": "[variables('primarystorageaccountname')]", "apiversion": "2015-06-15", "location": "[parameters('primarylocation')]", "properties": {"accounttype": "[variables('storageaccounttype')]"}}{"type": "microsoft.storage/storageaccounts", "name": "[variables('defaultprimar... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"apiversion": "2020-12-01", "type": "microsoft.compute/virtualmachines", "name": "[variables('vmname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.storage/storageaccounts", variables('storageaccountname'))]", "[resourceid('microsoft.network/networkinterfaces", variables('nicname'))... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-05-01", "type": "microsoft.network/publicipaddresses", "name": "[parameters('publicipname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "[parameters('publicipaddresstype')]"}}{"apiversion": "2020-05-01", "type": "microsoft.network/networkinterfaces", "name"... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"type": "microsoft.storage/storageaccounts", "apiversion": "2021-08-01", "name": "[variables('storageaccountname')]", "location": "[parameters('location')]", "sku": {"name": "standard_lrs"}, "kind": "storage"} |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"apiversion": "2020-06-01", "name": "deploy-virus-attack-oms-resource", "type": "microsoft.resources/deployments", "properties": {"mode": "incremental", "templatelink": {"uri": "[variables('omstemplateuri')]"}, "parameters": {"omsworkspacename": {"value": "[variables('omsworkspacename')]"}, "omssolutionsname": {"value... |
Creates and optionally secures a Key Vault with logging linked to a storage account. | {"type": "microsoft.keyvault/vaults", "apiversion": "2019-09-01", "name": "[parameters('keyvaultname')]", "location": "[parameters('location')]", "dependson": ["[variables('aadpodidentityuserdefinedmanagedidentityid')]"], "properties": {"accesspolicies": [{"tenantid": "[reference(variables('aadpodidentityuserdefinedman... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/virtualnetworks", "name": "[variables('virtualnetworkname')]", "location": "[parameters('location')]", "apiversion": "2020-08-01", "properties": {"addressspace": {"addressprefixes": ["[variables('addressprefix')]"]}, "subnets": [{"name": "[variables('subnetname')]", "properties": {"addresspr... |
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... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/privateendpoints", "apiversion": "2020-07-01", "name": "[parameters('filestorageaccountprivateendpointname')]", "location": "[parameters('location')]", "dependson": ["[variables('filestorageaccountid')]", "[variables('fileshareid')]"], "properties": {"privatelinkserviceconnections": [{"name"... |
Establish connection to a VNET via an ExpressRoute circuit | {"comments": "default network security group for template", "type": "microsoft.network/networksecuritygroups", "apiversion": "2020-05-01", "name": "[variables('networksecuritygroupname')]", "location": "[parameters('location')]", "properties": {"securityrules": [{"name": "[concat('default-allow-", variables('nsgosport'... |
This template creates a data collection rule defining the data source (Syslog) and the destination workspace. | {"scope": "[format('microsoft.apimanagement/service/{0}", variables('apim-name'))]", "type": "microsoft.insights/diagnosticsettings", "apiversion": "2017-05-01-preview", "name": "logtoanalytics", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.apimanagement/service", variables('apim-name')... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"apiversion": "2020-12-01", "type": "microsoft.compute/availabilitysets", "name": "[variables('haproxyavailabilitysetname')]", "location": "[parameters('location')]", "properties": {"platformupdatedomaincount": 3, "platformfaultdomaincount": 2}, "sku": {"name": "aligned"}}{"apiversion": "2020-12-01", "type": "microsof... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"apiversion": "2020-12-01", "type": "microsoft.compute/virtualmachines", "name": "[parameters('vmname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces/", variables('networkinterfacename'))]"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize'... |
Establish connection to a VNET via an ExpressRoute circuit | {"name": "[variables('nsgname')]", "type": "microsoft.network/networksecuritygroups", "location": "[parameters('location')]", "apiversion": "2020-08-01", "properties": {"securityrules": [{"name": "rule1", "properties": {"protocol": "*", "sourceportrange": "*", "destinationportrange": "*", "sourceaddressprefix": "*", "d... |
Showcase a Virus attack on a Virtual Machine detection & prevention. | {"type": "microsoft.compute/virtualmachines/extensions", "name": "[concat(variables('vmnames')[copyindex(1)],"/malware')]", "apiversion": "2020-12-01", "location": "[parameters('location')]", "dependson": ["omsextension"], "copy": {"name": "copy-extension-malware", "count": 1}, "properties": {"publisher": "microsoft.az... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-08-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "dynamic", "dnssettings": {"domainnamelabel": "[parameters('dnsnameforpublicip')]"}}} |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/virtualnetworks", "apiversion": "2020-06-01", "name": "[variables('vnetname')]", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["[variables('vnetaddressprefix')]"]}}, "resources": [{"type": "subnets", "apiversion": "2020-06-01", "name": "[variable... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.