Is there a way to access compute quotas with the Azure CLI or Python SDK?

Will Boyd 6 Reputation points
2020-08-12T16:10:41.713+00:00

I want to tabulate the compute quotas for each Azure ML workspace, in each Azure location, for my organization's Azure subscription. Although it is possible to look at the quotas manually through the Azure Portal (link), I have not found a way to do this with the Azure CLI or Python SDK for Azure. Since there are many resource groups and AML workspaces for different teams under my Azure subscription, it would be much more efficient to do this programmatically rather than manually through the portal. Is this even possible, and if so how can it be done?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,905 questions
{count} votes

1 answer

Sort by: Most helpful
  1. GiftA-MSFT 11,166 Reputation points
    2020-08-13T15:31:33.373+00:00

    Yes, we have a REST API that returns quota usage by subscription, workspace, and cluster. Please check out this example call. Let me know if this answers your question. Thanks.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.