Complete the code to specify the VM image publisher when creating a VM in Azure CLI.
az vm create --resource-group myResourceGroup --name myVM --image [1] --admin-username azureuserThe Canonical publisher provides Ubuntu images in Azure Marketplace.
Complete the code to specify the VM image offer when creating a VM in Azure CLI.
az vm create --resource-group myResourceGroup --name myVM --image Canonical:[1]:18.04-LTS:latest --admin-username azureuser
The UbuntuServer offer is used for Ubuntu images in Azure Marketplace.
Fix the error in the Azure CLI command to list all VM images from the marketplace for Ubuntu.
az vm image list --publisher Canonical --offer [1] --all --output tableThe correct offer name for Ubuntu images is UbuntuServer.
Fill both blanks to create a VM using the latest Ubuntu 20.04 LTS image from the marketplace.
az vm create --resource-group myResourceGroup --name myVM --image [1]:[2]:20.04-LTS:latest --admin-username azureuser
The publisher is Canonical and the offer is UbuntuServer for Ubuntu images.
Fill all three blanks to list all available VM images for Windows Server 2019 Datacenter in Azure CLI.
az vm image list --publisher [1] --offer [2] --sku [3] --all --output table
The publisher is MicrosoftWindowsServer, the offer is WindowsServer, and the SKU is 2019-Datacenter for Windows Server 2019 Datacenter images.