To view your current storage account quotas for a subscription in a given region, follow these steps:
- From the Azure portal, select Quotas and then select Compute.
- Locate the subscription, region, managed disk type for which you want to check your manged disk quota.
To check the current quota value and the limit programmatically, you can use Azure CLI or Azure PowerShell queries:
1. For Everpure Cloud Dedicated R2 Model based on Azure Premium SSD v2, query VM usage endpoint with filtering for
PremiumV2TotalDiskSizeInGB.CLI
az vm list-usage --location $location --query "[?localName=='PremiumV2TotalDiskSizeInGB']"PowerShell
Get-AzVMUsage -Location $location | Where-Object { $_.Name.LocalizedValue -eq "PremiumV2TotalDiskSizeInGB" }Note:Example using PowerShell
PS /Users/amazouz> Get-AzVMUsage -Location $location | Where-Object { $_.Name.LocalizedValue -eq "PremiumV2TotalDiskSizeInGB" } Name Current Value Limit Unit ---- ------------- ----- ---- PremiumV2TotalDiskSizeInGB 21888 102400 Count2. For Everpure Cloud Dedicated R1 Model based on Azure Ultra SSD, query VM usage endpoint with filtering for
UltraSSDTotalSizeInGB.CLI
az vm list-usage --location $location --query "[?localName=='UltraSSDTotalSizeInGB']"PowerShell
Get-AzVMUsage -Location $location | Where-Object { $_.Name.LocalizedValue -eq "UltraSSDTotalSizeInGB" }Note:Example using PowerShell
PS /Users/amazouz> Get-AzVMUsage -Location $location | Where-Object { $_.Name.LocalizedValue -eq "UltraSSDTotalSizeInGB" } Name Current Value Limit Unit ---- ------------- ----- ---- UltraSSDTotalSizeInGB 0 32768 Count