Description stringlengths 19 200 | IaC stringlengths 128 8.16k |
|---|---|
Create a VM from a Windows Image with 4 Empty Data Disks | {"condition": "[parameters('deploycustomdnsforwarder')]", "type": "microsoft.compute/availabilitysets", "comments": "thi is the availability set for creating a ha cluster, run the template multiple times to get multiple dns servers", "name": "[parameters('dnsavailabilitysetname')]", "apiversion": "2019-12-01", "locatio... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"condition": "[parameters('deploycustomdnsforwarder')]", "type": "microsoft.compute/availabilitysets", "comments": "thi is the availability set for creating a ha cluster, run the template multiple times to get multiple dns servers", "name": "[parameters('dnsavailabilitysetname')]", "apiversion": "2019-12-01", "locatio... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"condition": "[parameters('deploycustomdnsforwarder')]", "type": "microsoft.compute/availabilitysets", "comments": "thi is the availability set for creating a ha cluster, run the template multiple times to get multiple dns servers", "name": "[parameters('dnsavailabilitysetname')]", "apiversion": "2019-12-01", "locatio... |
This template uses Azure Managed Identity to assign access to Azure Maps. See more at https://aka.ms/amauth | {"apiversion": "2020-04-01-preview", "type": "microsoft.authorization/roleassignments", "name": "[variables('devcontributorroleassignmentguid')]", "dependson": ["[variables('devvmid')]"], "properties": {"roledefinitionid": "[variables('contributorroleid')]", "principalid": "[reference(variables('devvmid'), "2020-06-01"... |
This template uses Azure Managed Identity to assign access to Azure Maps. See more at https://aka.ms/amauth | {"apiversion": "2020-04-01-preview", "type": "microsoft.authorization/roleassignments", "name": "[variables('devcontributorroleassignmentguid')]", "dependson": ["[variables('devvmid')]"], "properties": {"roledefinitionid": "[variables('contributorroleid')]", "principalid": "[reference(variables('devvmid'), "2020-06-01"... |
This template uses Azure Managed Identity to assign access to Azure Maps. See more at https://aka.ms/amauth | {"apiversion": "2020-04-01-preview", "type": "microsoft.authorization/roleassignments", "name": "[variables('devcontributorroleassignmentguid')]", "dependson": ["[variables('devvmid')]"], "properties": {"roledefinitionid": "[variables('contributorroleid')]", "principalid": "[reference(variables('devvmid'), "2020-06-01"... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"apiversion": "2021-01-01", "type": "microsoft.storage/storageaccounts", "name": "[parameters('adlsstorageaccountname')]", "location": "[parameters('location')]", "sku": {"name": "standard_ragrs"}, "kind": "storagev2", "properties": {"networkacls": {"defaultaction": "[parameters('adlsstorageaccountnetworkaclsdefaultac... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"apiversion": "2021-01-01", "type": "microsoft.storage/storageaccounts", "name": "[parameters('adlsstorageaccountname')]", "location": "[parameters('location')]", "sku": {"name": "standard_ragrs"}, "kind": "storagev2", "properties": {"networkacls": {"defaultaction": "[parameters('adlsstorageaccountnetworkaclsdefaultac... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"comments": "spin up the azure vm", "type": "microsoft.compute/virtualmachines", "name": "[variables('vmname') ]", "apiversion": "2021-07-01", "location": "[variables('location')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces", variables('nicname'))]"], "properties": {"hardwareprofile": {"vmsize": ... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"comments": "spin up the azure vm", "type": "microsoft.compute/virtualmachines", "name": "[variables('vmname') ]", "apiversion": "2021-07-01", "location": "[variables('location')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces", variables('nicname'))]"], "properties": {"hardwareprofile": {"vmsize": ... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"comments": "spin up the azure vm", "type": "microsoft.compute/virtualmachines", "name": "[variables('vmname') ]", "apiversion": "2021-07-01", "location": "[variables('location')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces", variables('nicname'))]"], "properties": {"hardwareprofile": {"vmsize": ... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"comments": "spin up the azure vm", "type": "microsoft.compute/virtualmachines", "name": "[variables('vmname') ]", "apiversion": "2021-07-01", "location": "[variables('location')]", "dependson": ["[resourceid('microsoft.network/networkinterfaces", variables('nicname'))]"], "properties": {"hardwareprofile": {"vmsize": ... |
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": ["[resourceid('microsoft.managedidentity/userassignedidentities", parameters('identityname'))]"], "properties": {"sku": {"name": "standard", "family": "a"}, "ten... |
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": ["[resourceid('microsoft.managedidentity/userassignedidentities", parameters('identityname'))]"], "properties": {"sku": {"name": "standard", "family": "a"}, "ten... |
This module allows you to create a user-assigned managed identity and a role assignment scoped to the resource group. | {"type": "microsoft.managedidentity/userassignedidentities", "name": "[parameters('identityname')]", "apiversion": "2018-11-30", "location": "[parameters('location')]"} |
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": ["[resourceid('microsoft.managedidentity/userassignedidentities", parameters('identityname'))]"], "properties": {"sku": {"name": "standard", "family": "a"}, "ten... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"type": "microsoft.compute/virtualmachines", "apiversion": "2019-12-01", "name": "[concat(variables('vmname'), copyindex())]", "zones": "[split(string(add(mod(copyindex(),3),1)), ",')]", "location": "[parameters('location')]", "copy": {"name": "vmloop", "count": "[parameters('numberofvms')]"}, "dependson": ["nicloop"]... |
Create a VM from a Windows Image with 4 Empty Data Disks | {"type": "microsoft.compute/virtualmachines", "apiversion": "2019-12-01", "name": "[concat(variables('vmname'), copyindex())]", "zones": "[split(string(add(mod(copyindex(),3),1)), ",')]", "location": "[parameters('location')]", "copy": {"name": "vmloop", "count": "[parameters('numberofvms')]"}, "dependson": ["nicloop"]... |
This module creates a Shared Image Gallery resource with apiVersion 2019-12-01. | {"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 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"} |
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... |
Storage Account with Storage Service Encryption and a blob deletion retention policy | {"name": "[tolower(parameters('storageaccountname'))]", "type": "microsoft.storage/storageaccounts", "apiversion": "2019-06-01", "location": "[parameters('location')]", "sku": {"name": "standard_lrs"}, "kind": "storagev2"} |
Create an Azure Security Center Automation which will be triggered by specific Security Center Alert (including all severities) | {"scope": "[concat('microsoft.operationalinsights/workspaces/", parameters('existingworkspacename'))]", "type": "microsoft.securityinsights/alertrules", "apiversion": "2021-03-01-preview", "name": "[variables('ruleguid')]", "kind": "scheduled", "properties": {"displayname": "known iridium ip", "description": "iridium c... |
Create an Azure Security Center Automation which will be triggered by specific Security Center Alert (including all severities) | {"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, "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.