Azure Advisor - Enhancement to VM/VMSS Resize/Rightsize recommendation - Obtaining .csv and .pdf files
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Related command**
`az advisor recommendation list --category cost -o json`
**Is your feature request related to a problem? Please describe.**
When working with Microsoft support, there was no way for a user to obtain the .csv and .pdf versions of the "Right-size or shutdown underutilized virtual machines" recommendations via the CLI or API. I had to create my own custom command (using `az advisor recommendation list --category cost -o json`) to generate my own .csv file.
**Describe the solution you'd like**
Please allow a way to obtain these reports via the CLI or API, vs requiring people to use the UI to obtain the files.
**Describe alternatives you've considered**
Creating my own command to take the JSON output and format it into a CSV format
**Additional context**
This is necessary to avoid having to deal with changes in the json output that could negatively impact my script's ability to generate a CSV report over time.
Feature request/feedback submitted here:
https://feedback.azure.com/d365community/idea/4302fb1f-2f37-f011-a2d9-7c1e5243a09b
Microsoft Support TrackingID#2505140040013273 was opened regarding this issue. Investigation confirmed there is no way to obtain the .CSV or .PDF files from the CLI or API, only to extract the json and manipulate it yourself into another desired format.
Contributor guide
Assessment
This issue has not been assessed yet.