Azure / Azure/azure-cli

This API is incredibly slow

Open
#16,779 6 comments 4 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad Consumption - UsageDetailsandExport Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

This API is incredibly slow. I'm talking about minutes to provides cost for a single ResourceGroup with a dozen objects.

Perhaps some guidance could be provided with the parameters to help define what exactly will improve the speed of this API?

Also, there's throttling that returns a 429 if we try to run concurrent requests...

[Enter feedback here]

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: e05c0768-9cfc-3b78-4f39-70a8c1f0b6bd
* Version Independent ID: b5e5d8fa-e84c-408a-3f49-19d245563abd
* Content: [az consumption usage](https://docs.microsoft.com/en-us/cli/azure/consumption/usage?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/consumption/usage.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/master/latest/docs-ref-autogen/consumption/usage.yml)
* Service: **cost-management-billing**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

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.