Jerald Baker
Jerald Baker

Reputation: 1369

How to get limits for azure subscription?

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

Answers (1)

SwethaKandikonda
SwethaKandikonda

Reputation: 8254

Here are few commands to check Resource Limits

  1. az --version helps you to find the installed version.
  2. az login to log in to Azure.
  3. 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

  1. az account show To view which Azure Subscription.
  2. az account list To view a list of all the Azure Subscriptions.
  3. 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

Related Questions