Lab 4: Clean up your subscription
Task 1: Open Azure Cloud Shell
In the Azure portal, select the Cloud Shell icon to open a new Bash session. If Cloud Shell defaults to a PowerShell session, select PowerShell and, in the drop-down menu, select Bash.
Note: If this is the first time you're starting Cloud Shell, when prompted to select either Bash or PowerShell, select PowerShell. When you are presented with the You have no storage mounted message, select the subscription you're using in this lab, and then select Create storage.
Task 2: Delete resource groups
In the Cloud Shell pane, run the following command to delete the PolyglotData resource group:
az group delete --name PolyglotData --no-wait --yes
Note: The command executes asynchronously (as determined by the --no-wait parameter). Therefore, while you'll be able to run another Azure CLI command immediately after, within the same Bash session, it'll take a few minutes before the resource groups are actually removed.
Close the Cloud Shell pane in the portal.
Task 3: Close the active applications
Close the currently running Microsoft Edge application.
Close the currently running Visual Studio Code application.
Review
In this exercise, you cleaned up your subscription by removing the resource groups used in this lab.