I needed this today. To get a list of the different Virtual Machine base images -- Azure calls them SKUs -- use this command:

az vm image list --all --output table

Reference Information