For system, network and cloud administrators
After creating your Azure virtual machine, you might want to view as much information about it. You can do this by using:
az vm show --name YourVMName --resource-group YourResourceGroup
After creating an Azure virtual machine, you can view its public and private IP by using:
az vm list-ip-addresses --name YourVMName -o table
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