Hello, @James Hao !
How do I find a VM alias I can use with the command,
Edit: The solution here is to use the full URN (as
2019-datacenter-gensecond won't work by itself):
Changing image alias is a breaking change which is scheduled with the November 2023 release of PS/CLI. Please refer to https://aka.ms/TLaD for more information.
The only available aliases for New-AzVmss are:
- RHEL, RHELRaw8LVMGen2
Given that list, you are probably looking for
As a quick aside,
az vm image list --all is a great way to find VM SKUs and URNs. A great tool is https://az-vm-image.info/ which makes navigating this information a bit easier:
I hope this has been helpful! Your feedback is important so please take a moment to accept answers.
If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!