Description stringlengths 21 168 | IaC stringlengths 158 8.06k |
|---|---|
This template provides a easy way to deploy a Sonarqube docker image (alpine tag) on a Linux Web App with Azure database for MySQL. | {"comments": "this is the linux web app with the sonarquebe docker image and the db", "type": "microsoft.web/sites", "name": "[parameters('sitename')]", "apiversion": "2019-08-01", "location": "[parameters('location')]", "dependson": ["[variables('hostingplanname')]", "[variables('databasename')]"], "properties": {"sit... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/virtualnetworks", "name": "[variables('vnet1').name]", "apiversion": "2020-07-01", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["[variables('vnet1').addressspaceprefix]"]}, "subnets": [{"name": "[variables('vnet1').subnetname]", "properties": {"... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-03-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "sku": {"name": "standard"}, "properties": {"publicipallocationmethod": "static", "dnssettings": {"domainnamelabel": "[parameters('dnslabelprefix')]"}}} |
This template provides a way to deploy an Azure database for MySQL with VNet integration. | {"type": "microsoft.dbformysql/servers", "apiversion": "2017-12-01", "name": "[variables('mysqlservername')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('dbskuname')]", "tier": "[parameters('dbskutier')]", "capacity": "[parameters('dbskucapacity')]", "family": "[parameters('databaseskufamily'... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/virtualnetworks", "name": "[variables('virtualnetworkname')]", "location": "[parameters('location')]", "apiversion": "2019-08-01", "properties": {"addressspace": {"addressprefixes": ["[variables('addressprefix')]"]}, "subnets": [{"name": "[variables('subnetname')]", "properties": {"addresspr... |
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('newstorageaccountname'))]", "[resourceid('microsoft.network/networkinterfaces/", variables('nicna... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"type": "microsoft.resources/deployments", "apiversion": "2020-10-01", "name": "createvnet", "properties": {"mode": "incremental", "templatelink": {"uri": "[variables('vnettemplateuri')]", "contentversion": "1.0.0.0"}, "parameters": {"virtualnetworkname": {"value": "[variables('virtualnetworkname')]"}, "virtualnetwork... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"type": "microsoft.resources/deployments", "apiversion": "2020-10-01", "name": "createvnet", "properties": {"mode": "incremental", "templatelink": {"uri": "[variables('vnettemplateuri')]", "contentversion": "1.0.0.0"}, "parameters": {"virtualnetworkname": {"value": "[variables('virtualnetworkname')]"}, "virtualnetwork... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"type": "microsoft.compute/availabilitysets", "name": "[variables('avsetnameascs')]", "apiversion": "2020-06-01", "location": "[parameters('location')]", "sku": {"name": "aligned"}, "condition": "[equals(length(parameters('availabilityzones')), 0)]", "properties": {"platformfaultdomaincount": 2, "platformupdatedomainc... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/networksecuritygroups", "name": "[concat(variables('nsgname'))]", "apiversion": "2020-07-01", "location": "[parameters('location')]", "condition": "[equals(length(parameters('subnetid')), 0)]", "properties": {"securityrules": "[variables('selectedsecurityrules')]"}}{"type": "microsoft.networ... |
This template creates an Azure Cosmos account for Core (SQL) API and a container with a stored procedure, trigger and user defined function. | {"apiversion": "2020-09-01", "type": "microsoft.documentdb/databaseaccounts", "name": "[parameters('databaseaccountname')]", "location": "[parameters('location')]", "tags": {"displayname": "documentdb"}, "properties": {"name": "[parameters('databaseaccountname')]", "databaseaccountoffertype": "[parameters('documentdbof... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2018-07-01", "type": "microsoft.network/virtualnetworks", "name": "[variables('virtualnetworkname')]", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["[variables('addressprefix')]"]}, "subnets": [{"name": "[variables('subnetname')]", "properties": {"addresspr... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-05-01", "type": "microsoft.network/networkinterfaces", "name": "[concat('nic", copyindex())]", "location": "[parameters('location')]", "copy": {"name": "nicloop", "count": "[variables('numberofmasterinstances')]"}, "dependson": ["[resourceid('microsoft.resources/deployments/", "shared-resources')]"... |
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... |
Deploy an Azure SQL Server with Auditing enabled to write audit logs to a blob storage | {"type": "microsoft.sql/servers", "name": "[concat(variables('targetservername'))]", "apiversion": "2020-02-02-preview", "location": "[parameters('location')]", "properties": {"administratorlogin": "[parameters('targetsqldbadministratorlogin')]", "administratorloginpassword": "[parameters('targetsqldbadministratorpassw... |
This module creates a storageAccount resource with apiVersion 2021-01-01. | {"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... |
This template creates a data collection rule defining the data source (Syslog) and the destination workspace. | {"name": "[parameters('actiongroupname')]", "type": "microsoft.insights/actiongroups", "apiversion": "2019-06-01", "location": "global", "properties": {"groupshortname": "[parameters('actiongroupshortname')]", "enabled": true, "emailreceivers": [{"name": "test", "emailaddress": "[parameters('emails')[0]]", "usecommonal... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/virtualnetworks", "apiversion": "2020-06-01", "name": "[variables('virtualnetworkname')]", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["[variables('addressprefix')]"]}, "subnets": [{"name": "[variables('subnetname')]", "properties": {"addresspr... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"apiversion": "2017-03-30", "type": "microsoft.compute/availabilitysets", "location": "[parameters('location')]", "name": "[parameters('gw-availabilityset')]", "properties": {"platformupdatedomaincount": 20, "platformfaultdomaincount": 2}, "sku": {"name": "aligned"}}{"name": "[concat('gw-vm-",copyindex())]", "type": "... |
This module creates a storageAccount resource with apiVersion 2021-01-01. | {"apiversion": "2020-08-01-preview", "type": "microsoft.storage/storageaccounts", "name": "[variables('storageaccountname')]", "location": "[parameters('location')]", "sku": {"name": "standard_lrs"}, "kind": "storagev2"} |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"type": "microsoft.storage/storageaccounts", "name": "[variables('bwafstorageaccountname')]", "apiversion": "2021-01-01", "location": "[parameters('location')]", "comments": "storage account used to store the bwaf vm disks", "tags": {"displayname": "bwaf vm storage account", "quickstartname": "[variables('quickstartta... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"type": "microsoft.compute/virtualmachines", "name": "[concat(variables('clustername'), "-dev')]", "apiversion": "2017-12-01", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces", concat(variables('clustername'), "-dev", "-vmnic'))]"], "properties": {"hardwareprofil... |
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/", parameters('newstorageaccountname'))]", "[resourceid('microsoft.network/networkinterfaces/", variables('nicn... |
Create a Data Factory account, Blob source, SQL sink and Copy Activity Pipeline | {"type": "microsoft.datafactory/factories", "apiversion": "2018-06-01", "name": "[parameters('datafactoryname')]", "location": "[parameters('location')]", "identity": {"type": "systemassigned"}}{"type": "microsoft.datafactory/factories/linkedservices", "apiversion": "2018-06-01", "name": "[format('{0}/{1}", parameters(... |
Establish connection to a VNET via an ExpressRoute circuit | {"condition": "[empty(parameters('subnetid'))]", "type": "microsoft.network/networksecuritygroups", "apiversion": "2020-04-01", "name": "[variables('nsgname')]", "location": "[parameters('location')]", "properties": {"securityrules": "[variables('selectedsecurityrules')]"}} |
This module creates a storageAccount resource with apiVersion 2021-01-01. | {"type": "microsoft.storage/storageaccounts", "apiversion": "2021-08-01", "name": "[variables('storageaccountname')]", "location": "[parameters('location')]", "sku": {"name": "standard_lrs"}, "kind": "storage"} |
Create a VM from a Windows Image with 4 Empty Data Disks | {"name": "[parameters('vmname')]", "type": "microsoft.compute/virtualmachines", "location": "[parameters('location')]", "apiversion": "2020-12-01", "dependson": ["[resourceid('microsoft.network/networkinterfaces", variables('vmnicname'))]"], "tags": {"displayname": "vm01"}, "properties": {"hardwareprofile": {"vmsize": ... |
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('nicname'))]"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize')]"}, "osprofi... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2015-06-15", "type": "microsoft.network/virtualnetworks", "name": "[variables('virtualnetworkname')]", "comments": "this the virtual network that all resources will be deployed to.", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["10.0.0.0/16"]}, "subnets": [... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"type": "microsoft.compute/virtualmachines", "apiversion": "2021-03-01", "name": "[parameters('hostvirtualmachinename')]", "location": "[parameters('location')]", "properties": {"hardwareprofile": {"vmsize": "[parameters('hostvirtualmachinesize')]"}, "storageprofile": {"imagereference": {"publisher": "microsoftwindows... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-11-01", "type": "microsoft.network/networksecuritygroups", "name": "[variables('boshnetworksecuritygroup')]", "location": "[parameters('location')]", "properties": {"securityrules": [{"name": "ssh", "properties": {"description": "allow ssh", "protocol": "tcp", "sourceportrange": "*", "destinationpo... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/publicipprefixes", "apiversion": "2021-03-01", "name": "[parameters('publicipprefixname')]", "location": "[parameters('location')]", "sku": {"name": "standard", "tier": "regional"}, "properties": {"prefixlength": "[parameters('publicipprefixlength')]", "publicipaddressversion": "ipv4"}}{"typ... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"type": "microsoft.compute/availabilitysets", "name": "[variables('avsetnamedb')]", "apiversion": "2020-12-01", "location": "[parameters('location')]", "sku": {"name": "aligned"}, "properties": {"platformfaultdomaincount": 2, "platformupdatedomaincount": 20}}{"type": "microsoft.compute/virtualmachines", "name": "[conc... |
Deploy an Azure SQL Server with Auditing enabled to write audit logs to a blob storage | {"apiversion": "2020-11-01-preview", "type": "microsoft.sql/servers", "location": "[variables('location')]", "name": "[variables('sqlservername')]", "properties": {"administratorlogin": "[parameters('sqlserveradministratorlogin')]", "administratorloginpassword": "[parameters('sqlserveradministratorloginpassword')]", "v... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"type": "microsoft.compute/availabilitysets", "name": "[variables('availabilitysetmasters')]", "apiversion": "2017-12-01", "location": "[parameters('location')]", "sku": {"name": "aligned"}, "properties": {"platformfaultdomaincount": 2, "platformupdatedomaincount": 5}}{"type": "microsoft.compute/availabilitysets", "na... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-05-01", "type": "microsoft.network/networksecuritygroups", "location": "[parameters('location')]", "name": "[parameters('nsgname')]"}{"type": "microsoft.network/publicipaddresses", "apiversion": "2020-06-01", "name": "[parameters('natgatewaypublicipname')]", "location": "[parameters('location')]", ... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"name": "rancherdeploy", "type": "microsoft.resources/deployments", "apiversion": "2019-09-01", "properties": {"mode": "incremental", "templatelink": {"uri": "[variables('templatedeployurl')]", "contentversion": "1.0.0.0"}, "parameters": {"adminusername": {"value": "[parameters('adminusername')]"}, "adminpassword": {"... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"apiversion": "2020-08-01", "name": "deploy-xss-attack-oms-resource", "type": "microsoft.resources/deployments", "properties": {"mode": "incremental", "templatelink": {"uri": "[variables('omstemplateuri')]"}, "parameters": {"omsworkspacename": {"value": "[variables('omsworkspacename')]"}, "omssolutionsname": {"value":... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/virtualnetworks", "apiversion": "2020-06-01", "name": "[parameters('virtualnetworkname')]", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["172.20.0.0/16"]}, "subnets": [{"name": "[variables('subnetname')]", "properties": {"addressprefix": "172.20... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"apiversion": "2020-12-01", "type": "microsoft.compute/virtualmachines", "name": "[concat(variables('vmname'), "-boss')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces/", concat(variables('nicname'), "-boss'))]", "[resourceid('microsoft.storage/storageaccounts... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/networksecuritygroups", "name": "[concat(variables('nsgname'))]", "apiversion": "2020-07-01", "location": "[parameters('location')]", "condition": "[equals(length(parameters('subnetid')), 0)]", "properties": {"securityrules": "[variables('selectedsecurityrules')]"}}{"type": "microsoft.networ... |
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')]", "location": "[parameters('location')]", "properties": {"state": "enabled", "definition": {"$schema": "https://schema.management.azure.com/providers/microsoft.logic/schemas/2016-06-01/workflowdefinition.json#", "act... |
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}}{"type": "microsoft.compute/availabilitysets", "name"... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"name": "[variables('virtualmachinename')]", "type": "microsoft.compute/virtualmachines", "apiversion": "2019-12-01", "location": "[parameters('location')]", "dependson": ["[variables('networkinterfacename')]"], "properties": {"osprofile": {"computername": "[variables('virtualmachinename')]", "adminusername": "[parame... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"apiversion": "2020-10-01", "name": "backup_jobs_non_log", "type": "microsoft.resources/deployments", "resourcegroup": "[resourcegroup().name]", "properties": {"mode": "incremental", "templatelink": {"uri": "[variables('nestedtemplates').backup_jobs_non_log]", "contentversion": "1.0.0.0"}, "parameters": {"workspacenam... |
Create a sandbox setup of Azure Firewall with Linux jumpbox and Linux server | {"type": "microsoft.network/routetables", "name": "[variables('azfwroutetablename')]", "apiversion": "2020-05-01", "location": "[parameters('location')]", "properties": {"disablebgproutepropagation": false, "routes": [{"name": "azfwdefaultroute", "properties": {"addressprefix": "0.0.0.0/0", "nexthoptype": "virtualappli... |
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('appinsightname')]", "location": "[parameters('location')]", "kind": "string", "tags": {"displayname": "appinsight", "projectname": "[parameters('appname')]"}, "properties": {"application_type": "web", "workspaceresourceid": "[res... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-07-01", "type": "microsoft.network/publicipaddresses", "name": "[concat(variables('publicipname'), copyindex())]", "copy": {"name": "publiciploop", "count": "[variables('numberofinstances')]"}, "location": "[parameters('location')]", "sku": {"name": "standard"}, "properties": {"publicipallocationme... |
This template deploys a VM Scale Set into an exsisting vnet. | {"type": "microsoft.compute/virtualmachinescalesets", "name": "[parameters('vmssname')]", "location": "[parameters('location')]", "apiversion": "2019-12-01", "dependson": ["[resourceid('microsoft.network/loadbalancers", variables('loadbalancername'))]"], "sku": {"name": "[parameters('vmsku')]", "capacity": "[parameters... |
This template creates an Azure Traffic Manager profile using external endpoints. | {"type": "microsoft.network/trafficmanagerprofiles", "apiversion": "2018-08-01", "name": "externalendpointexample", "location": "global", "properties": {"profilestatus": "enabled", "trafficroutingmethod": "performance", "dnsconfig": {"relativename": "[parameters('uniquednsname')]", "ttl": 30}, "monitorconfig": {"protoc... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/publicipaddresses", "apiversion": "2020-06-01", "name": "[parameters('publicipname')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('publicipsku')]"}, "properties": {"publicipallocationmethod": "[parameters('publicipallocationmethod')]", "dnssettings": {"domainnamela... |
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", variables('nicname'))]"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize')]"}, "osprofi... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"type": "microsoft.storage/storageaccounts", "name": "[variables('jumpboxsaname')]", "location": "[parameters('location')]", "apiversion": "2019-06-01", "sku": {"name": "[variables('storageaccounttype')]"}, "kind": "storagev2", "properties": {}} |
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... |
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": ["[variables('servicebusnamespaceprivateendpointid')]", "[variables('blobstorageaccountprivateendpointid')]", "[variables('nicid')]"], "properties": {"hardware... |
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('primarylocation')]", "dependson": ["[concat('microsoft.network/networkinterfaces/",variables('primarynicname'))]"], "properties": {"hardwareprofile": {"vmsize": "[variables('vmsize')]"},... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/virtualnetworks", "apiversion": "2020-06-01", "name": "[variables('virtualnetworkname')]", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["[variables('addressprefix')]"]}, "subnets": [{"name": "[variables('subnetname')]", "properties": {"addresspr... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"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... |
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": "[variables('hostingplanname')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('appserviceplantier')]", "capacity": "[parameters('appserviceplaninstances')]"}}{"type": "microsoft.web/sites", "apiversion": "2020-06-01", "na... |
This module creates a storageAccount resource with apiVersion 2021-01-01. | {"type": "microsoft.storage/storageaccounts", "apiversion": "2019-06-01", "name": "[variables('defaultstorageaccount').name]", "location": "[parameters('location')]", "sku": {"name": "[variables('defaultstorageaccount').type]"}, "kind": "storage", "properties": {}} |
Create a VM from a Windows Image with 4 Empty Data Disks | {"apiversion": "2019-12-01", "type": "microsoft.compute/availabilitysets", "name": "[variables('availabilitysetname')]", "location": "[parameters('location')]", "sku": {"name": "aligned"}, "properties": {"platformfaultdomaincount": "[variables('platformfaultdomaincount')]", "platformupdatedomaincount": "[variables('pla... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"type": "microsoft.compute/availabilitysets", "name": "[variables('availabilitysetname')]", "apiversion": "2019-12-01", "location": "[parameters('location')]", "sku": {"name": "aligned"}, "properties": {"platformfaultdomaincount": 2, "platformupdatedomaincount": 2}}{"apiversion": "2019-12-01", "type": "microsoft.compu... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"apiversion": "2021-04-01", "type": "microsoft.storage/storageaccounts", "name": "[variables('newstorageaccountname')]", "location": "[parameters('location')]", "sku": {"name": "[variables('storageaccounttype')]"}} |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"apiversion": "2020-08-01", "name": "deploy-xss-attack-oms-resource", "type": "microsoft.resources/deployments", "properties": {"mode": "incremental", "templatelink": {"uri": "[variables('omstemplateuri')]"}, "parameters": {"omsworkspacename": {"value": "[variables('omsworkspacename')]"}, "omssolutionsname": {"value":... |
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')]"}}}{"comme... |
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')]"}}}{"apive... |
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... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"comments": "this creates the kemp loadmaster with multiple interfaces.", "apiversion": "2019-12-01", "type": "microsoft.compute/virtualmachines", "name": "[variables('vmname')]", "location": "[parameters('location')]", "tags": {"displayname": "virtualmachine"}, "plan": {"name": "[variables('imagesku')]", "product": "... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/publicipaddresses", "apiversion": "2021-05-01", "name": "[parameters('publicipname')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('publicipsku')]"}, "properties": {"publicipallocationmethod": "[parameters('publicipallocationmethod')]", "dnssettings": {"domainnamela... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"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... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"name": "[parameters('vmname')]", "type": "microsoft.compute/virtualmachines", "apiversion": "2019-07-01", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces", concat(parameters('vmname'),"-nic-01'))]", "[resourceid('microsoft.storage/storageaccounts",tolower(parame... |
This template creates an Azure Machine Learning service workspace with public network connectivity. | {"type": "microsoft.machinelearningservices/workspaces", "apiversion": "2020-03-01", "identity": {"type": "systemassigned"}, "name": "[variables('workspacename')]", "location": "[parameters('location')]", "dependson": ["[variables('storageaccount')]", "[variables('keyvault')]", "[variables('applicationinsights')]", "[v... |
This module creates a storageAccount resource with apiVersion 2021-01-01. | {"apiversion": "2021-01-01", "type": "microsoft.storage/storageaccounts", "sku": {"name": "[variables('storageaccounttype')]"}, "name": "[variables('newstorageaccountname')]", "location": "[parameters('location')]", "properties": {}} |
This template deploys a Route Server into a subnet named RouteServerSubnet. | {"condition": "[equals(parameters('vnetnew_or_existing'), "new')]", "type": "microsoft.network/virtualnetworks", "apiversion": "2020-05-01", "name": "[parameters('vnetname')]", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["[parameters('vnetipprefix')]"]}}}{"type": "microso... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"type": "microsoft.resources/deploymentscripts", "apiversion": "2020-10-01", "name": "[format('{0}-{1}", variables('scriptname'), variables('wordpresssharename'))]", "location": "[parameters('location')]", "kind": "azurepowershell", "identity": {"type": "userassigned", "userassignedidentities": {"[resourceid('microsof... |
Establish connection to a VNET via an ExpressRoute circuit | {"name": "vnet01", "type": "microsoft.network/virtualnetworks", "location": "[parameters('location')]", "apiversion": "2020-07-01", "tags": {"displayname": "vnet01"}, "properties": {"addressspace": {"addressprefixes": ["[variables('vnet01prefix')]"]}, "subnets": [{"name": "[variables('vnet01subnet1name')]", "properties... |
This template provides a way to deploy an Azure database for MySQL with VNet integration. | {"type": "microsoft.dbformysql/servers", "apiversion": "2017-12-01", "name": "[variables('mysqlservername')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('dbskuname')]", "tier": "[parameters('dbskutier')]", "capacity": "[parameters('dbskucapacity')]", "family": "[parameters('databaseskufamily'... |
This module creates a storageAccount resource with apiVersion 2021-01-01. | {"type": "microsoft.storage/storageaccounts", "apiversion": "2021-02-01", "name": "[variables('storageaccountname')]", "location": "[parameters('location')]", "sku": {"name": "standard_lrs"}, "kind": "storage", "properties": {}} |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"apiversion": "2019-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... |
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... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"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'... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"type": "microsoft.compute/disks", "apiversion": "2020-12-01", "name": "[parameters('diskname')]", "location": "[parameters('location')]", "properties": {"creationdata": {"createoption": "empty"}, "disksizegb": 200}} |
Deploy a cognitive service with an universal key. | {"type": "microsoft.cognitiveservices/accounts", "apiversion": "2017-04-18", "name": "[parameters('cognitiveservicename')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('sku')]"}, "kind": "cognitiveservices", "properties": {"statisticsenabled": false}} |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"type": "microsoft.storage/storageaccounts", "apiversion": "2019-06-01", "name": "[variables('strname')]", "location": "[parameters('location')]", "sku": {"name": "standard_lrs"}, "kind": "storagev2", "tags": {"displayname": "labvm storage account"}, "properties": {"accesstier": "hot"}} |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"apiversion": "2021-04-01", "type": "microsoft.storage/storageaccounts", "name": "[concat(variables('region-storage-account'),copyindex())]", "sku": {"name": "standard_lrs", "tier": "standard"}, "kind": "storage", "location": "[variables('region')[copyindex()]]", "tags": {"displayname": "storage-accounts"}, "propertie... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"type": "microsoft.compute/virtualmachines", "name": "[variables('sparkmastermachinename')]", "apiversion": "2020-12-01", "location": "[variables('resourcegrouplocation')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces", variables('sparkmasternetworkinterfacename'))]"], "properties": {"networkprofil... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"name": "shared-resources", "type": "microsoft.resources/deployments", "apiversion": "2015-01-01", "properties": {"mode": "incremental", "templatelink": {"uri": "[variables('sharedtemplateurl')]", "contentversion": "1.0.0.0"}, "parameters": {"commonsettings": {"value": "[variables('commonsettings')]"}, "networksetting... |
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"... |
Create a new SQL logical server with Azure AD-only authentication and an Azure AD Administrator. | {"type": "microsoft.sql/servers", "apiversion": "2020-11-01-preview", "name": "[parameters('server')]", "location": "[parameters('location')]", "properties": {"administrators": {"login": "[parameters('aad_admin_name')]", "sid": "[parameters('aad_admin_objectid')]", "tenantid": "[parameters('aad_admin_tenantid')]", "pri... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/networksecuritygroups", "comments": "an nsg to prevent inbound traffic other than ssh, set sourceaddressprefix to restrict access further or block all together (or remove the public ip) and ssh in from another vm", "name": "[variables('nsgname')]", "apiversion": "2020-05-01", "location": "[v... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2017-04-01", "type": "microsoft.network/virtualnetworks", "name": "[variables('virtualnetworkname')]", "location": "[resourcegroup().location]", "properties": {"addressspace": {"addressprefixes": ["[variables('addressprefix')]"]}, "subnets": [{"name": "[variables('subnetname')]", "properties": {"address... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2015-06-15", "name": "[variables('lbname')]", "type": "microsoft.network/loadbalancers", "location": "[parameters('location')]", "dependson": ["[concat('microsoft.network/publicipaddresses/",variables('apppublicipname'))]"], "properties": {"frontendipconfigurations": [{"name": "[variables('lbfename')]",... |
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. | {"comments": "generalized from resource: "/subscriptions/38ccde7a-8dbd-46b4-a0c6-71201ffab311/resourcegroups/autonub/providers/microsoft.web/serverfarms/uswestbasic".", "type": "microsoft.web/serverfarms", "sku": {"name": "b1", "tier": "basic", "size": "b1", "family": "b", "capacity": 1}, "name": "[parameters('azure se... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2019-11-01", "type": "microsoft.network/publicipaddresses", "name": "[concat(variables('publicipaddressname'), copyindex(1))]", "location": "[variables('vmsettings')[copyindex()].location]", "copy": {"name": "publicipcopy", "count": 2}, "properties": {"publicipallocationmethod": "[variables('publicipadd... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"name": "mysql", "type": "microsoft.resources/deployments", "apiversion": "2020-10-01", "properties": {"mode": "incremental", "templatelink": {"uri": "[uri(parameters('_artifactslocation'), concat('nested/mysql-replication.json", parameters('_artifactslocationsastoken')))]", "contentversion": "1.0.0.0"}, "parameters":... |
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('vmdnsprefix')]"}}} |
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('nameprefix')]"}}}{"comments"... |
Establish connection to a VNET via an ExpressRoute circuit | {"condition": "[equals(parameters('vnetneworexisting'), "new')]", "apiversion": "2020-08-01", "type": "microsoft.network/virtualnetworks", "name": "[parameters('virtualnetworkname')]", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["10.0.0.0/16"]}, "subnets": [{"name": "[par... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"type": "microsoft.compute/virtualmachines", "name": "[variables('vmname')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces/", variables('nicname'))]"], "zones": "[variables('selectedzones')]", "apiversion": "2021-04-01", "location": "[parameters('location')]", "properties": {"hardwareprofile": {"vms... |
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.storage/storageaccounts/", parameters('storageaccountname'))]", "[resourceid('microsoft.network/networkinterfaces/", parameters('nicna... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.