• Contributor: Stonebranch Stonebranch
  • OS: Linux, Windows
  • Author: Ravi Kumar Murugesan
  • Compatibility: UA 6.6 or higher, UC 6.5 or higher
  • Application / Platform: Azure Virtual Machines
  • Prerequisites: Python 2.7 or higher, Python Requests Module
  • Product: Universal Agent, Universal Automation Center, Universal Controller

Azure Virtual Machines Start-Stop-Terminate-Instance

Azure Virtual Machines Start-Stop-Terminate-Instance

This Universal Task enables users to utilize Azure Virtual Machine (VM) name, resource group, subscription ID & access token as inputs for the start, stop, terminate, list and check status of Azure VMs.

Key Features:

  • This task uses python requests module to interact with the Azure cloud platform. 
  • It expands user ability to start/stop/terminate/check/list Azure VMs that belong to a subscription and resource group.
  • In Universal Controller (UC), this task reaches and stays in the success state until the Azure instance is completely started, stopped, or terminated. 
  • Scheduling this task in UC with the right dependencies set up would start and stop EC2 instances based on business needs using a UC workflow. 
  • This task helps to dynamically manage VM operations. It could potentially reduce the Azure VM running cost in the cloud. 

Additional Information:

Important: This task uses Azure Oauth2.0 access token for Azure API authentication. Users may need to use Universal Controller web services task to refresh the access token periodically.