Skip to main content
Pure Technical Services

Check Azure Quota Limits | Pure CBS on Azure

Currently viewing public documentation. Please login to access the full scope of documentation.

Check Azure Resources

Instance Type and Ultra Disks 

In Azure Console, open Cloud Shell, choose Powershell, and execute the below: 

you would need to edit the script with your region and CBS Model

$region = "southeastasia" # change the region
$cbsModel = "v10" # choose v10 or v20


$vmSize = ($cbsModel -eq "v20") ? "Standard_D64s_v3" : "Standard_D32s_v3"
$sku = Get-AzComputeResourceSku | where {$_.Locations  -contains $region -and $_.Name -eq $vmSize}
$skuZones = $sku.LocationInfo[0].zones
$ultra = $sku.LocationInfo[0].ZoneDetails
Write-Output "### Checking if the VM Family is available ..."
if($sku.LocationInfo[0].zones){Write-host "### $vmSize is supported in $region region in the following zones $skuZones "} Else {Write-host "$vmSize is NOT supported in $region region"}
Write-Output "### Checking if the Ultra Managed Disks available ..."
if($ultra){Write-host "### Ultra Disk are supported in $region region in the following zones $($ultra.Name) "} Else {Write-host "$vmSize is NOT supported with Ultra Disk in $region region"}

clipboard_e986d4af529e35344a0ea2aee3ee1b17d.png