Forrest logo
back to the az tool

az-vm:tldr:f4389

az-vm: List VM images available in the Azure Marketplace.
$ az vm image list
try on your machine

The az vm image list command is a command-line interface (CLI) command used in Azure to list the available virtual machine (VM) images.

Here is a breakdown of the command:

  • az: This is the Azure CLI command used to interact with Azure resources.
  • vm: This is a subcommand used to manage virtual machines.
  • image: This is a subcommand used to manage VM images.
  • list: This is a specific action or subcommand under vm image, used to list the available VM images.

When you run az vm image list, it will retrieve a list of available VM images from Azure. This list includes both the images provided by Azure and any custom images you may have created or imported.

The output of this command will include information such as image URN (Uniform Resource Name), publisher, offer, SKU (Stock Keeping Unit), version, and more. This information allows you to find the right image to use when creating a new VM in Azure.

Overall, the az vm image list command helps you identify and select the appropriate VM image for your needs when provisioning virtual machines in Azure.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the az tool