For system, network and cloud administrators
Depending on the purpose of your Azure virtual machine, you’ll need to choose a size for it when you’re creating it. Plus, the availability of Azure resources depends on the region you’ll want to use them. You can list available Azure predefined virtual machine sizes by using:
az vm list-sizes --location westeurope -o table
In order to view what Azure virtual machines are existing within your subscription or, in this case, a particular resource group, you can use:
az vm list --resource-group YourResourceGroup -o table