Skip to content

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

@Scarlettliuyc

Description

@Scarlettliuyc

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

Metadata

Metadata

Labels

ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotNetworkaz network vnet/lb/nic/dns/etc...Storageaz storagecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions