As Azure user I can be STOP the running VM. When you stop it. All services related to that will be get stopped. So before stopping VM make sure you have some reason behind on it. Azure Virtual Machine can be stopped two ways. Manually Stop VM API request to Stop VM 1.Manually Stop VM : Go To VM overview page - click STOP button - Click OK 2.API request to Stop VM Build API request and Stop Azure Virtual Machine. Collect Arguments information {0} - subscriptionId {1} - resourceGroupName {2} - virtualMachinesName {3} - apiVersion Variables private string azureDomain = "https://management.azure.com"; private string vmStopUri = "/subscriptions/{0}/resourceGroups/{1}/providers/Microsoft.Compute/virtualMachines/{2}/powerOff?api-version={3}"; private string _apiV_2019_12_01 = "2019-12-01"; Write a Method public void StopVirtualMachine(string vmName) { ...
WELCOME TO MY AUTOMATION DONE PORTAL. I AM GOING TO SHARE MY EXPERIENCES IN TEST CASES AUTOMATION YOU TO ALL.