Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
#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 -Location FranceCentral -Name Standard_D12_v2
Get-AzureRMlocationZones -ComputeResourceSku Standard_D12_v2