You have several options.
The first is the use of Azure Portal. Click on your virtual machine and below you will see a button to stop the virtual machine. Running it again works the same.
The second option is to use PowerShell. John McCabe posted a simple script on his blog to do this. The most important features are Start-AzureVMand Stop-AzureVM.
( , PowerShell), Azure. .
- Microsoft Azure Automation. . , .