List the VM/VMSS images available in the Azure Marketplace
With the Azure CLI, use the az vm image list
command to list all available images to create a new virtual machine in azure
az vm image list --output table
And the command output will be something like this
You are viewing an offline list of images, use --all to retrieve an up-to-date list
Architecture Offer Publisher Sku Urn UrnAlias Version
-------------- ---------------------------- ---------------------- ---------------------------------- ------------------------------------------------------------------------------ ----------------------- ---------
x64 CentOS OpenLogic 8_5-gen2 OpenLogic:CentOS:8_5-gen2:latest CentOS85Gen2 latest
x64 debian-11 Debian 11-backports-gen2 Debian:debian-11:11-backports-gen2:latest Debian11 latest
x64 flatcar-container-linux-free kinvolk stable-gen2 kinvolk:flatcar-container-linux-free:stable-gen2:latest FlatcarLinuxFreeGen2 latest
x64 openSUSE-leap-15-4 SUSE gen2 SUSE:openSUSE-leap-15-4:gen2:latest OpenSuseLeap154Gen2 latest
x64 RHEL RedHat 8-lvm-gen2 RedHat:RHEL:8-lvm-gen2:latest RHELRaw8LVMGen2 latest
x64 sles-15-sp3 SUSE gen2 SUSE:sles-15-sp3:gen2:latest SuseSles15SP3 latest
x64 0001-com-ubuntu-server-jammy Canonical 22_04-lts-gen2 Canonical:0001-com-ubuntu-server-jammy:22_04-lts-gen2:latest Ubuntu2204 latest
x64 WindowsServer MicrosoftWindowsServer 2022-datacenter-g2 MicrosoftWindowsServer:WindowsServer:2022-datacenter-g2:latest Win2022Datacenter latest
x64 WindowsServer MicrosoftWindowsServer 2022-datacenter-azure-edition-core MicrosoftWindowsServer:WindowsServer:2022-datacenter-azure-edition-core:latest Win2022AzureEditionCore latest
x64 WindowsServer MicrosoftWindowsServer 2019-datacenter-gensecond MicrosoftWindowsServer:WindowsServer:2019-datacenter-gensecond:latest Win2019Datacenter latest
x64 WindowsServer MicrosoftWindowsServer 2016-datacenter-gensecond MicrosoftWindowsServer:WindowsServer:2016-datacenter-gensecond:latest Win2016Datacenter latest
x64 WindowsServer MicrosoftWindowsServer 2012-R2-Datacenter MicrosoftWindowsServer:WindowsServer:2012-R2-Datacenter:latest Win2012R2Datacenter latest
x64 WindowsServer MicrosoftWindowsServer 2012-Datacenter MicrosoftWindowsServer:WindowsServer:2012-Datacenter:latest Win2012Datacenter latest
x64 WindowsServer MicrosoftWindowsServer 2008-R2-SP1 MicrosoftWindowsServer:WindowsServer:2008-R2-SP1:latest Win2008R2SP1 latest
For more details, click on the link below to access the official documentation
Member discussion