For system, network and cloud administrators

How to resize an existing Azure virtual machine using Azure CLI

In order to resize your Azure virtual machine, you’ll first need to check the available resizing options:

az vm list-vm-resize-options --resource-group YourResourceGroup --name YourVMName -o table