Image are used to create VM.
The urn property is the image name.
az.cmd vm image list --all --publisher oracle
az.cmd vm image list --all --offer Oracle-Linux --output table
Example output:
{
"offer": "Oracle-Linux",
"publisher": "Oracle",
"sku": "7.4",
"urn": "Oracle:Oracle-Linux:7.4:7.4.20170908",
"version": "7.4.20170908"
}
az.cmd vm image list --all --publisher "MicrosoftWindowsDesktop" --sku "RS3-Pro" --output table --location westeurope
Offer Publisher Sku Urn Version
---------- ----------------------- -------- ------------------------------------------------------- -----------
Windows-10 MicrosoftWindowsDesktop RS3-Pro MicrosoftWindowsDesktop:Windows-10:RS3-Pro:16299.125.0 16299.125.0
Windows-10 MicrosoftWindowsDesktop RS3-Pro MicrosoftWindowsDesktop:Windows-10:RS3-Pro:16299.192.0 16299.192.0
Windows-10 MicrosoftWindowsDesktop RS3-Pro MicrosoftWindowsDesktop:Windows-10:RS3-Pro:16299.64.0 16299.64.0
Windows-10 MicrosoftWindowsDesktop RS3-ProN MicrosoftWindowsDesktop:Windows-10:RS3-ProN:16299.125.0 16299.125.0
Windows-10 MicrosoftWindowsDesktop RS3-ProN MicrosoftWindowsDesktop:Windows-10:RS3-ProN:16299.192.0 16299.192.0
Windows-10 MicrosoftWindowsDesktop RS3-ProN MicrosoftWindowsDesktop:Windows-10:RS3-ProN:16299.64.0 16299.64.0
az.cmd vm image list --all --publisher "MicrosoftSQLServer" --sku "SQLDEV" --output table --location westeurope
az.cmd vm image list --all --publisher "redhat" --offer "RHEL" --output table --location westeurope