Azure / Azure/azure-cli

Feature request| Add a script which can get all the uage of resources and the limits

Open
#31,985 5 comments 1 reaction 5 assignees Claimed by @calvinhzy View on GitHub
act-codegen-extensibility-squad act-identity-squad act-observability-squad act-quality-productivity-squad ARM Auto-Assign Azure CLI Team Compute customer-reported feature-request Network Storage
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Related command**

Not exists now,

**Is your feature request related to a problem? Please describe.**

NO
**Describe the solution you'd like**

Like these scripts in below, it can get the usage and limits.
VM: “az vm list-usage --location eastus --output table”
Network:
az network list-usages --location eastus --output table
And storage account :
az storage account show-usage --location 'eastus' --output table
But customer wants to find a script can use resource provider to check it. Like use az provider list [az provider list](https://learn.microsoft.com/en-us/cli/azure/provider?view=azure-cli-latest#az-provider-list) to show the uage and limits, currently it doesn't support
Customer requirements:
• need to query the data from a **single endpoint across all limit types.**
• need to be able to filter data by subscription and limit type.
• need to see current value and limit value in the returned data.
• My preferred method of retrieving the data is via **Azure CLI in a processable structured or semi-structured format (JSON, …).**

**Describe alternatives you've considered**

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.