Description stringlengths 21 195 | IaC stringlengths 201 6.84k |
|---|---|
Enable Azure Sentinel | {"name": "[variables('omssolutions').customsolution.solutionname]", "type": "microsoft.operationsmanagement/solutions", "apiversion": "2015-11-01-preview", "location": "[parameters('workspaceregionid')]", "dependson": ["[resourceid('microsoft.operationalinsights/workspaces/", parameters('workspacename'))]", "[resourcei... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"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... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"type": "microsoft.compute/virtualmachines", "apiversion": "2020-06-01", "name": "[variables('vmname')]", "location": "[parameters('location')]", "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize')]"}, "osprofile": {"computername": "[variables('vmname')]", "adminusername": "[parameters('adminusername')... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"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... |
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": {"accesstier": "hot"}}{"type": "microsoft.storage/storageaccounts/filese... |
This template uses Azure Managed Identity to assign access to Azure Maps. See more at https://aka.ms/amauth | {"type": "microsoft.authorization/roleassignments", "apiversion": "2020-04-01-preview", "scope": "[format('microsoft.network/networkprofiles/{0}", variables('networkprofilename'))]", "name": "[guid(variables('networkroledefinitionid'), parameters('azurecontainerinstanceoid'), variables('networkprofilename'))]", "proper... |
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"}} |
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... |
This module creates a key resource in an existing KeyVault with apiVersion 2019-09-01. | {"type": "microsoft.keyvault/vaults", "apiversion": "2019-09-01", "name": "[parameters('keyvaultname')]", "location": "[parameters('location')]", "dependson": ["[variables('applicationgatewayuserdefinedmanagedidentityid')]", "[variables('aadpodidentityuserdefinedmanagedidentityid')]"], "properties": {"accesspolicies": ... |
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": ["[variables('nicname')]"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize')]"}, "osprofile": {"computername": "[variables('vmname')]", "admi... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"apiversion": "2016-04-30-preview", "type": "microsoft.compute/virtualmachines", "name": "[variables('vmname')]", "location": "[parameters('location')]", "dependson": ["[variables('storageaccountname')]", "[variables('nicname')]"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize')]"}, "osprofile": {"... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"apiversion": "2021-01-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": "2015-06-15", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "dynamic"}}{"apiversion": "2015-06-15", "type": "microsoft.network/virtualnetworks", "name": "[variables('virtualne... |
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"}}{"comments": "default network security group for template", "type": "microsoft.network/networksecuritygr... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/publicipaddresses", "apiversion": "2020-05-01", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "dynamic", "dnssettings": {"domainnamelabel": "[parameters('domainnamelabel')]"}}}{"type": "microsoft.network/virtu... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"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... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"name": "[concat(parameters('envprefixname'), "sqlsrv14')]", "type": "microsoft.compute/virtualmachines", "location": "[parameters('location')]", "apiversion": "2020-12-01", "dependson": ["[resourceid('microsoft.network/networkinterfaces/", variables('sqlsrvdbnicname'))]", "[resourceid('microsoft.network/publicipaddre... |
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('vmdnsname')]"}}}{"comments":... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-07-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('apppublicipaddressname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "dynamic", "dnssettings": {"domainnamelabel": "[parameters('dnslabelprefix')]"}}}{"apiversion": "2020-07-01", "t... |
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('dnsnameforpublicip')]"}}}{"c... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-07-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('apppublicipaddressname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "dynamic", "dnssettings": {"domainnamelabel": "[parameters('dnslabelprefix')]"}}}{"apiversion": "2020-07-01", "t... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"type": "microsoft.compute/virtualmachinescalesets", "apiversion": "2020-06-01", "name": "[parameters('vmssname')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('vmsku')]", "tier": "standard", "capacity": "[parameters('instancecount')]"}, "dependson": ["[resourceid('microsoft.network/loadbalan... |
This template provides a easy way to deploy a puckel/docker-airflow image (latest tag) on a Linux Web App with Azure database for PostgreSQL. | {"comments": "this is the airflow linux web app running puckel/docker-airflow docker image", "type": "microsoft.web/sites", "name": "[parameters('sitename')]", "apiversion": "2020-06-01", "location": "[parameters('location')]", "dependson": ["[variables('hostingplanname')]", "[variables('databasename')]"], "properties"... |
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 allows you to create a user-assigned managed identity and a role assignment scoped to the resource group. | {"comments": "user-defined managed identity defined for the aks cluster. used to access the virtual network and other resources.", "type": "microsoft.managedidentity/userassignedidentities", "apiversion": "2018-11-30", "name": "[variables('aksclusteruserdefinedmanagedidentityname')]", "location": "[parameters('location... |
Create an Azure Automation account and create a new Azure Monitor Log Analytics workspace if it doesn't exist, and then link them together. | {"name": "[parameters('automationaccountname')]", "type": "microsoft.automation/automationaccounts", "apiversion": "2021-04-01", "location": "[parameters('automationregion')]", "properties": {"sku": {"name": "[parameters('automationpricingtier')]"}}, "resources": [{"name": "[variables('automation').runbook.publishomshy... |
Creates and optionally secures a Key Vault with logging linked to a storage account. | {"type": "microsoft.keyvault/vaults", "apiversion": "2021-04-01-preview", "name": "[variables('keyvaultname')]", "location": "[parameters('location')]", "properties": {"tenantid": "[variables('tenantid')]", "sku": {"name": "standard", "family": "a"}, "accesspolicies": [], "enablesoftdelete": true, "enablepurgeprotectio... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"apiversion": "2020-06-01", "type": "microsoft.compute/virtualmachines", "name": "[variables('vmname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.storage/storageaccounts/", parameters('newstorageaccountname'))]", "[resourceid('microsoft.network/networkinterfaces/", variables('nicn... |
This template creates an App Service Plan, a Web App, a scheduler job collection and a job. | {"name": "[variables('schedulerjobcollectionname')]", "type": "microsoft.scheduler/jobcollections", "apiversion": "2016-03-01", "location": "[parameters('location')]", "properties": {"sku": {"name": "standard"}}, "resources": [{"type": "jobs", "name": "[variables('schedulerjobname')]", "apiversion": "2016-03-01", "depe... |
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"... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"condition": "[parameters('useexistingvnetandsubnet')]", "type": "microsoft.resources/deployments", "apiversion": "2019-10-01", "name": "[format('{0}-subnet-delegation-{1}", parameters('subnetname'), variables('unistr'))]", "resourcegroup": "[parameters('vnetresourcegroupname')]", "properties": {"expressionevaluationo... |
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/", parameters('newstorageaccountname'))]", "[resourceid('microsoft.network/networkinterfaces/", variables('nicn... |
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... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"comments": "availability set for the web servers", "type": "microsoft.compute/availabilitysets", "sku": {"name": "aligned"}, "name": "[variables('webavailabilitysetname')]", "apiversion": "2020-12-01", "location": "[parameters('location')]", "properties": {"platformupdatedomaincount": 5, "platformfaultdomaincount": 2... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-07-01", "type": "microsoft.network/virtualnetworks", "name": "[variables('virtualnetworkname')]", "location": "[variables('computelocation')]", "properties": {"addressspace": {"addressprefixes": ["[variables('addressprefix')]"]}, "subnets": [{"name": "[variables('subnet0name')]", "properties": {"ad... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/virtualnetworks", "apiversion": "2020-11-01", "name": "[variables('virtualnetworkname')]", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["10.0.0.0/16"]}, "subnets": [{"name": "[variables('subnetname')]", "properties": {"addressprefix": "10.0.0.0/... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"apiversion": "2020-06-01", "type": "microsoft.compute/virtualmachines", "name": "[parameters('vmname')]", "location": "[parameters('location')]", "dependson": ["[variables('vmnicid')]"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize')]"}, "osprofile": {"computername": "[parameters('vmname')]", "ad... |
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.storage/storageaccounts/", variables('newstorageaccountname'))]", "[resourceid('microsoft.network/networkinterfaces/", variables('nicna... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"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 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')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces/", variables('networkinterfacename'))]"], "properties": {"hardwareprofile": {"vmsize": "[parameters('vmsize'... |
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"... |
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/", concat(variables('v... |
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... |
This module creates a key resource in an existing KeyVault with apiVersion 2019-09-01. | {"type": "microsoft.keyvault/vaults", "apiversion": "2021-04-01-preview", "name": "[parameters('keyvaultname')]", "location": "[parameters('location')]", "properties": {"enabledfordeployment": "[parameters('enabledfordeployment')]", "enabledfordiskencryption": "[parameters('enabledfordiskencryption')]", "enabledfortemp... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"name": "shared", "type": "microsoft.resources/deployments", "apiversion": "2020-10-01", "properties": {"mode": "incremental", "templatelink": {"uri": "[variables('sharedtemplateurl')]", "contentversion": "1.0.0.0"}, "parameters": {"networksettings": {"value": "[variables('networksettings')]"}, "location": {"value": "... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/networksecuritygroups", "apiversion": "2021-05-01", "name": "[parameters('networksecuritygroupname')]", "location": "[parameters('location')]"}{"type": "microsoft.network/virtualnetworks", "apiversion": "2021-05-01", "name": "[parameters('virtualnetworkname')]", "location": "[parameters('loc... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"apiversion": "2021-08-01", "type": "microsoft.storage/storageaccounts", "name": "[parameters('blobstorageaccountname')]", "location": "[parameters('location')]", "sku": {"name": "standard_lrs"}, "kind": "storagev2"} |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/virtualnetworks", "apiversion": "2020-04-01", "name": "[parameters('virtualnetwork_name')]", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["[parameters('virtualnetwork_cidr')]"]}}}{"type": "microsoft.network/virtualnetworks/subnets", "apiversion"... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2019-08-01", "type": "microsoft.network/publicipaddresses", "name": "publicip", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "dynamic", "dnssettings": {"domainnamelabel": "[parameters('publicdnsname')]"}}}{"apiversion": "2019-08-01", "type": "microsoft.network/publi... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/publicipaddresses", "apiversion": "2020-06-01", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "dynamic", "dnssettings": {"domainnamelabel": "[parameters('dnslabelprefix')]"}}} |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/virtualnetworks", "apiversion": "2020-05-01", "name": "[variables('virtualnetworkname')]", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["[variables('networksettings').virtualnetworkaddressprefix]"]}, "subnets": [{"name": "default", "properties":... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"name": "[concat(variables('storageaccountnameprefix')[copyindex()],uniquestring(resourcegroup().id))]", "type": "microsoft.storage/storageaccounts", "location": "[parameters('location')]", "apiversion": "2021-01-01", "copy": {"count": "[length(variables('storageaccounttype'))]", "name": "storageaccountcopy"}, "tags":... |
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"}, "kind": "storagev2", "properties": {"encryption": {"services": {"blob": {"enabled": true}, "file": {"enabled": true}}, "keysour... |
Deploy an Azure SQL Server with Threat Detection enabled and a user-defined number of Azure SQL Databases with Threat Detection enabled, with an email address to receive alerts for each database. | {"type": "microsoft.sql/servers", "apiversion": "2020-02-02-preview", "location": "[variables('databaseserverlocation')]", "name": "[variables('databaseservername')]", "properties": {"administratorlogin": "[variables('databaseserveradminlogin')]", "administratorloginpassword": "[variables('databaseserveradminloginpassw... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"type": "microsoft.storage/storageaccounts", "name": "[variables('vhdstoragenamers')]", "apiversion": "2021-01-01", "location": "[parameters('location')]", "sku": {"name": "standard_lrs"}, "kind": "storage", "tags": {"displayname": "datastorageaccountrs"}, "properties": {}}{"type": "microsoft.storage/storageaccounts",... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"type": "microsoft.compute/virtualmachines", "name": "[concat('tableau", copyindex(1))]", "apiversion": "2020-12-01", "location": "[parameters('location')]", "copy": {"name": "virtualmachineloop", "count": "[variables('numberofinstances')]"}, "dependson": ["nicloop"], "properties": {"hardwareprofile": {"vmsize": "[var... |
Create an Azure Security Center Automation which will be triggered by any Security Center Recommendation and state | {"apiversion": "2019-01-01-preview", "location": "[parameters('location')]", "name": "[parameters('automationname')]", "type": "microsoft.security/automations", "properties": {"description": "[format(variables('automationdescription'),"{0}", parameters('subscriptionid'))]", "isenabled": true, "actions": [{"actiontype":... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2019-06-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "sku": {"name": "basic"}, "properties": {"publicipallocationmethod": "dynamic"}} |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-05-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('appgatewaypubipname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "[parameters('publicipaddresstype')]"}}{"apiversion": "2020-05-01", "type": "microsoft.network/publicipaddresses", ... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"type": "microsoft.storage/storageaccounts", "apiversion": "2021-02-01", "name": "[variables('storageaccountname')]", "location": "[parameters('location')]", "sku": {"name": "standard_lrs"}, "kind": "storage", "properties": {}} |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-05-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "[variables('publicipaddresstype')]"}}{"comments": "default network security group for template", "type": "microsof... |
This module creates a storageAccount resource with apiVersion 2021-01-01. | {"name": "[tolower(parameters('storageaccountname'))]", "type": "microsoft.storage/storageaccounts", "apiversion": "2019-06-01", "location": "[parameters('location')]", "sku": {"name": "standard_lrs"}, "kind": "storagev2"} |
This module creates a storageAccount resource with apiVersion 2021-01-01. | {"type": "microsoft.storage/storageaccounts", "name": "[variables('storageaccountname')]", "apiversion": "2016-01-01", "location": "[parameters('location')]", "sku": {"name": "[variables('storageaccounttype')]"}, "kind": "storage", "properties": {}} |
This module creates a storageAccount resource with apiVersion 2021-01-01. | {"type": "microsoft.storage/storageaccounts", "name": "[parameters('newstorageaccountname')]", "apiversion": "2019-06-01", "location": "[parameters('location')]", "sku": {"name": "[variables('storageaccounttype')]"}, "kind": "storagev2"} |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"apiversion": "2021-07-01", "type": "microsoft.compute/virtualmachines", "name": "[variables('vmname')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.storage/storageaccounts/", variables('storageaccountname'))]", "[resourceid('microsoft.network/networkinterfaces/", concat(variables('v... |
Establish connection to a VNET via an ExpressRoute circuit | {"type": "microsoft.network/publicipaddresses", "apiversion": "2020-04-01", "location": "[variables('location')]", "name": "[variables('agentipaddressname')]", "properties": {"dnssettings": {"domainnamelabel": "[variables('agentendpointdnsnameprefix')]"}, "publicipallocationmethod": "dynamic"}} |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"name": "nodes", "type": "microsoft.resources/deployments", "apiversion": "2016-02-01", "dependson": ["[concat('microsoft.network/virtualnetworks/", variables('vnetname'))]"], "properties": {"mode": "incremental", "templatelink": {"uri": "[variables('nodestemplateurl')]", "contentversion": "1.0.0.0"}, "parameters": {"... |
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": "2021-02-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('lbpublicipname')]", "location": "[parameters('location')]", "properties": {"publicipallocationmethod": "static", "dnssettings": {"domainnamelabel": "[parameters('dnsname')]"}}}{"apiversion": "2015-06-15", "type": "microsoft... |
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":... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"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... |
Establish connection to a VNET via an ExpressRoute circuit | {"name": "[variables('virtualnetworkname')]", "type": "microsoft.network/virtualnetworks", "location": "[parameters('location')]", "apiversion": "2020-11-01", "dependson": ["[resourceid('microsoft.network/networksecuritygroups/", variables('networksecuritygroupname'))]"], "tags": {"displayname": "[variables('virtualnet... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"type": "microsoft.compute/virtualmachines", "apiversion": "2020-12-01", "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 | {"type": "microsoft.network/virtualnetworks", "apiversion": "2020-06-01", "name": "[parameters('virtualnetworkname')]", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["[parameters('vnetaddressprefix')]"]}}} |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"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 sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"name": "shared", "type": "microsoft.resources/deployments", "apiversion": "2020-10-01", "properties": {"mode": "incremental", "templatelink": {"uri": "[variables('sharedtemplateurl')]", "contentversion": "1.0.0.0"}, "parameters": {"networksettings": {"value": "[variables('networksettings')]"}, "namespace": {"value": ... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"apiversion": "2020-06-01", "name": "deploy", "type": "microsoft.resources/deployments", "resourcegroup": "[parameters('virtualnetworkresourcegroupname')]", "dependson": ["new-nsg"], "properties": {"mode": "incremental", "templatelink": {"uri": "[uri(parameters('_artifactslocation'), concat('nested/updatesubnet.json",... |
This template creates a metric alert rule that monitors the CPU Percentage metric of a virtual machine using a static threshold condition type. | {"name": "[parameters('alertname')]", "type": "microsoft.insights/metricalerts", "location": "global", "apiversion": "2018-03-01", "properties": {"description": "[parameters('alertdescription')]", "severity": "[parameters('alertseverity')]", "enabled": "[parameters('isenabled')]", "scopes": ["[parameters('resourceid')]... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"apiversion": "2018-05-01", "name": "deploy-ddos-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 | {"condition": "[parameters('rebuildvnet')]", "apiversion": "2020-05-01", "type": "microsoft.network/virtualnetworks", "name": "[parameters('vnetname')]", "location": "[parameters('location')]", "properties": {"addressspace": {"addressprefixes": ["[parameters('vnetaddressprefix')]"]}}, "resources": [{"condition": "[para... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"apiversion": "2019-03-01", "type": "microsoft.compute/virtualmachines", "name": "[concat(variables('vmname'), copyindex())]", "location": "[parameters('location')]", "copy": {"name": "vmloop", "count": "[parameters('numberofvms')]"}, "dependson": ["[variables('storageaccountname')]", "nicloop"], "properties": {"hardw... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"apiversion": "2015-06-15", "type": "microsoft.compute/availabilitysets", "name": "[variables('ossavailabilitysetsettings').name]", "location": "[parameters('location')]", "sku": {"name": "aligned"}, "properties": {"platformfaultdomaincount": "[variables('ossavailabilitysetsettings').faultdomaincount]", "platformupdat... |
This module creates a storageAccount resource with apiVersion 2021-01-01. | {"type": "microsoft.storage/storageaccounts", "apiversion": "2019-06-01", "name": "[variables('storageaccountname')]", "location": "[parameters('existingvnetlocation')]", "dependson": ["[resourceid(parameters('existingdatafactoryresourcegroup'), "microsoft.resources/deployments", "nestedtemplate')]"], "sku": {"name": "... |
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... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"type": "microsoft.compute/virtualmachines", "apiversion": "2019-07-01", "name": "vslab", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.storage/storageaccounts", variables('storagename'))]", "[resourceid('microsoft.network/networkinterfaces", "vslab-nic')]"], "tags": {"displayname": "vs... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"type": "microsoft.storage/storageaccounts", "apiversion": "2021-04-01", "name": "[variables('supportlogstorageaccountname')]", "location": "[parameters('location')]", "sku": {"name": "standard_lrs"}, "kind": "storage", "tags": {"resourcetype": "service fabric", "clustername": "[parameters('clustername')]"}, "properti... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"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... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"type": "microsoft.storage/storageaccounts", "name": "[variables('storageaccountname')]", "apiversion": "2021-02-01", "location": "[parameters('location')]", "sku": {"name": "[variables('storageaccounttype')]"}} |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"type": "microsoft.storage/storageaccounts", "name": "[variables('defaultstorageaccount').name]", "location": "[parameters('location')]", "apiversion": "2021-04-01", "sku": {"name": "[variables('defaultstorageaccount').type]"}, "kind": "storage", "properties": {}} |
This module creates a key resource in an existing KeyVault with apiVersion 2019-09-01. | {"type": "microsoft.keyvault/vaults", "apiversion": "2019-09-01", "name": "[variables('key_vault_name')]", "location": "[parameters('location')]", "properties": {"enabledfordeployment": true, "enabledfordiskencryption": false, "enabledfortemplatedeployment": true, "enablesoftdelete": false, "tenantid": "[variables('ten... |
This template uses Azure Managed Identity to assign access to Azure Maps. See more at https://aka.ms/amauth | {"condition": "[parameters('enabledeletelock')]", "type": "microsoft.authorization/locks", "apiversion": "2017-04-01", "scope": "[format('microsoft.operationalinsights/workspaces/{0}", parameters('name'))]", "name": "[variables('lockname')]", "properties": {"level": "cannotdelete"}, "dependson": ["[resourceid('microsof... |
Establish connection to a VNET via an ExpressRoute circuit | {"apiversion": "2020-05-01", "type": "microsoft.network/publicipaddresses", "name": "[variables('publicipaddressname')]", "location": "[parameters('location')]", "sku": {"name": "standard"}, "properties": {"publicipallocationmethod": "static", "dnssettings": {"domainnamelabel": "[parameters('dnsname')]"}}}{"apiversion"... |
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... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"type": "microsoft.storage/storageaccounts", "name": "[variables('storageaccountname')]", "apiversion": "2017-06-01", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.network/virtualnetworks/", parameters('vnetname'))]"], "sku": {"name": "[parameters('storageaccounttype')]"}, "kind": "stor... |
This template creates a Front Door Standard/Premium including a web application firewall with a custom rule. | {"type": "microsoft.cdn/profiles", "apiversion": "2021-06-01", "name": "[variables('profilename')]", "location": "global", "sku": {"name": "[parameters('frontdoorskuname')]"}}{"type": "microsoft.cdn/profiles/afdendpoints", "apiversion": "2021-06-01", "name": "[format('{0}/{1}", variables('profilename'), parameters('end... |
This sample contains a script to easily migrate template gallery templates to templateSpec resources. | {"type": "microsoft.resources/deployments", "apiversion": "2020-10-01", "name": "pid-738e3eec-68d4-4667-8377-c05c77c21f1b", "properties": {"mode": "incremental", "template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymenttemplate.json#", "contentversion": "1.0.0.0", "resources": []}}}{"ty... |
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": "... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"type": "microsoft.storage/storageaccounts", "name": "[parameters('vmdiagnosticsstorageaccountname')]", "apiversion": "2021-01-01", "location": "[parameters('location')]", "sku": {"name": "[variables('storatetype')]"}} |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"type": "microsoft.storage/storageaccounts", "name": "[parameters('storagename')]", "apiversion": "2021-01-01", "location": "[parameters('location')]", "sku": {"name": "[parameters('storagetype')]"}} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.