Cleaning Up Resources#

Overview

Teaching:

Exercises:

Questions:

Objectives:

Remove Resource Group#

Removing a resource group removes all the resources associated with the resource group.

List resources we will be deleting (not exclusive) when the resource group is deleted.

az vm list --resource-group $RG --output table

Remove Resource Group. Note, this will take many seconds.

WARNING: This will remove all resources (virtual machines, storage buckets, etc.) from your resource group!

az group delete --resource-group $RG --yes