Azure – Virtual machine scale set does not support disk encryption

New-AzureRmResourceGroupDeployment : 3:49:21 PM – Resource Microsoft.Compute/virtualMachineScaleSets ‘vmssfp6s’ failed with message ‘{ “error”: { “code”: “NotSupported”, “message”: “Virtual machine scale set does not support disk encryption. Please remove Azure Disk Encryption extension from virtual machine scale set model.” } }’ #Yet I see examples in GitHub – so is it supposed to work? $namespaces=(Get-AzureRMresourceprovider).ProviderNamespace foreach…

0

Azure – PowerShell Azure locations with zones

#Requires -module AzureRM #find regions that support Zones and what VM SKus are supported function Get-AzureRMlocationZones { PARAM ($location,$ComputeResourceSku) $sku=Get-AzureRmComputeResourceSku | Where-Object {$_.ResourceType -eq ‘virtualMachines’ -and $_.LocationInfo.Zones } if ($location) { $sku = $sku | Where-Object {$_.Locations -eq $location} } if ($ComputeResourceSku) { $sku = $sku | Where-Object {$_.Name -eq $ComputeResourceSku} } $sku } #Get-AzureRMlocationZones…

0