Reputation: 1369
There are some limits for creating resources in an azure subscription, as outlined in the Azure documentation - https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits
How to programmatically get the limits from azure cli/sdk?
Upvotes: 0
Views: 643
Reputation: 8254
Here are few commands to check Resource Limits
az --version
helps you to find the installed version.az login
to log in to Azure.az network list-usages --location [--subscription]
List the number of network resources in a region that is used against a subscription quota.For more information, you can check this Document.
Here are few commands to check Subscription Limits
az account show
To view which Azure Subscription.az account list
To view a list of all the Azure Subscriptions.az account set --subscription "Company Subscription"
To set the Azure Subscription you want to target.For more information, you can refer to this Blog
Upvotes: 0