Listing 1: Speicherkonto anlegen param location string = resourceGroup(). location param storageCount int = 2 resource storageAcct 'Microsoft.Storage/ storageAccounts@2021-06-01' = [for i in range(0, storageCount): { name: '${i}storage${uniqueString(resource Group().id)}' location: location sku: { name: 'Standard_LRS' } kind: 'Storage' }] Listing 2: Nutzung von Parametern param storageAccountName string param location string = resourceGroup(). location @allowed([ 'stage' 'prod' ]) param stageOrProd string = 'stage' resource sa 'Microsoft.Storage/storageAccounts@2019-06-01' = if (stageOrProd == 'prod') { name: storageAccountName location: location sku: { name: 'Standard_LRS' tier: 'Standard' } kind: 'StorageV2' properties: { accessTier: 'Hot' } }