Skip to content

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

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 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions