Deallocate Virtual Machines

Overview

The Deallocate Virtual Machines action allows you to deallocate targeted Azure Virtual Machines. Unlike stopping a VM, deallocation will release the compute resources and stop billing for the Virtual Machines.

Working in conjunction with the Start Virtual Machines action, these actions automate VM management, help optimization of resource usage and costs, and give you the flexibility to scale your compute resources up or down as your workload demands.

Permissions

When you link GorillaStack to your Azure account, GorillaStack creates a service principal that provides access to the following permissions that are used by this action:

  • Microsoft.Compute/virtualMachines/deallocate/action
  • Microsoft.Compute/*/read

Configuring the action

Targeting

Tag groups are used to target VMs for deallocation.