Sign inSign up

relaysh/azure-virtual-machines-step-vm-deallocate

By relaysh

•Updated over 5 years ago

Image
0

4.9K

relaysh/azure-virtual-machines-step-vm-deallocate repository overview

⁠azure-virtual-machines-step-vm-deallocate

This Azure⁠ step container deallocates a set of Azure virtual machines in an Azure subscription given a set of resource IDs. Deallocated VMs do not incurring billing charges.

⁠Notes

To get the Azure VM resource IDs, try the following command using the Azure CLI:

$ az vm list | jq ".[].id"

"/subscriptions/c8236dee-c104-452b-8128-f448c65d18fe/resourceGroups/my-rg/providers/Microsoft.Compute/virtualMachines/my-vm-1"
"/subscriptions/c8236dee-c104-452b-8128-f448c65d18fe/resourceGroups/my-rg/providers/Microsoft.Compute/virtualMachines/my-vm-2"

For more information on Resource IDs, check out the documentation⁠.

Tag summary

Content type

Image

Digest

Size

185.6 MB

Last updated

over 5 years ago

docker pull relaysh/azure-virtual-machines-step-vm-deallocate