Offline VM image list
Related command az vm image list
Describe the bug
az vm image list returns an offline list of VM images across Linux and Windows as an alternative to az vm image list --all which is online. The offline list stored in the CLI source (see additional context). This file should be updated periodically to reflect the latest distro releases available on Azure. Some examples include:
- Ubuntu 18.04 -> 20.04
- Debian 10 -> 11
- Centos 7.5 -> 7.9
To Reproduce
az vm image list | jq -r .[].urn
Expected behavior The offline list should be periodically updated.
Additional context
The config is stored src/azure-cli/azure/cli/command_modules/vm/_alias.py.
Compute
@rguptar In fact, the offline configuration file used by CLI is aliases.json, and src/azure-cli/azure/cli/command_modules/vm/_alias.py is only a backup when the aliases.json cannot access due to network problems.
Please note that because CLI team was unable to keep up with the latest information of these images, so this file aliases.json is maintained by the service team. This is our workflow to update the image information in the aliases.json: if service team wants to update the image information in the configuration file, please submit a PR like https://github.com/Azure/azure-rest-api-specs/pull/19432, and then our team will assist in reviewing it.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @avirishuv, @vaibhav-agar, @amjads1.
Issue Details
Related command az vm image list
Describe the bug
az vm image list returns an offline list of VM images across Linux and Windows as an alternative to az vm image list --all which is online. The offline list stored in the CLI source (see additional context). This file should be updated periodically to reflect the latest distro releases available on Azure. Some examples include:
- Ubuntu 18.04 -> 20.04
- Debian 10 -> 11
- Centos 7.5 -> 7.9
To Reproduce
az vm image list | jq -r .[].urn
Expected behavior The offline list should be periodically updated.
Additional context
The config is stored src/azure-cli/azure/cli/command_modules/vm/_alias.py.
| Author: | rguptar |
|---|---|
| Assignees: | zhoxing-ms |
| Labels: |
|
| Milestone: | Backlog |
Thank you for your feedback. This has been routed to the support team for assistance.