Automation Data / Storage PowerShell

What is my ANF Regional Capacity Quota?

You’ve heard about Azure NetApp Files regional quotas and now you are wondering how to see what the quota is in a given region so you can plan accordingly. I have created a PowerShell script called ‘Get-ANFRegionalCapacityQuota’ that displays a table with the default and current quota for each region in your subscription. Head on over to GitHub for instructions and to download the script. Note: you’ll need to supply your subscription ID and service principal credentials.

If you are interested in using the Azure Management API to retrieve this info directly, keep reading…

If you haven’t already, follow the instructions here to set up your Postman environment and retrieve your bearer token.

Once you have your bearer token, click on the ‘New’ button within Postman and select ‘HTTP Request’.

Paste the URL below in to the ‘Enter request URL’ field. You can change the ‘eastus2’ portion of the URL to get the quota for different regions in your subscription.

https://management.azure.com/subscriptions/{{subscriptionId}}/providers/Microsoft.NetApp/locations/eastus2/quotaLimits?api-version=2021-06-01

Select the ‘Auth’ tab and change the type to ‘Bearer Token’ and paste your bearer token in the ‘Token’ field.

Finally, click the ‘Send’ button. You should see a response similar to below with a field titled ‘totalTiBPerSubscription’. In this example, the regional quota in ‘eastus2’ is 25TiB.

For more information about Azure NetApp Files Regional Capacity Quotas and for information on how to request an increase in capacity, head on over to Microsoft’s official documentation.

2 comments

  1. Here is an another quick way to check Regional Quota Limit of a subscription in a region.
    1. Log into Azure Portal
    2. Open Cloud Shell
    3. Use following Azure CLI command to get report on current quota limits, you will need to update url with appropriate sub-id and region
    Command: az rest –method get –url https://management.azure.com/subscriptions//providers/Microsoft.NetApp//southcentralus/quotaLimits?api-version=2021-06-01

    Output example below
    PS /home/jayeshb> az rest –method get –url https://management.azure.com/subscriptions//providers/Microsoft.NetApp/locations//quotaLimits?api-version=2021-06-01
    {
    “accountsPerSubscription”: {
    “current”: 10,
    “default”: 10
    },
    “poolsPerAccount”: {
    “current”: 25,
    “default”: 25
    },
    “snapshotsPerVolume”: {
    “current”: 255,
    “default”: 255
    },
    “subscriptionId”: “sub-id-removed-from-here”,
    “totalCoolAccessVolumesPerSubscription”: {
    “current”: 10,
    “default”: 10
    },
    “totalDPVolumesPerSubscription”: {
    “current”: 10,
    “default”: 10
    },
    “totalTiBsPerSubscription”: {
    “current”: 25,
    “default”: 25
    },
    “totalVolumesPerSubscription”: {
    “current”: 500,
    “default”: 500
    },
    “volumesPerPool”: {
    “current”: 500,
    “default”: 500
    }
    }
    PS /home/jayeshb>

Leave a Reply to Jayesh Bhakta Cancel reply

%d bloggers like this: