In this lab, you will remove the resource group containing your Azure Cosmos DB account.
Removing Lab Assets
In many Azure scenarios, your entire application solution is grouped into an Azure resource group. You will use the Cloud Shell tool in the Azure Portal to list all of your resource groups and then delete the resource group you used for these labs.
Open Cloud Shell
At the top of the portal, select the Cloud Shell icon to open a new shell instance.
If this is your first time using the cloud shell, you may need to configure the default Storage account and SMB file share. For this lab, you should select Bash (Linux) as your environment and your default subscription for the mounted storage share. Once you select Create storage, a new Azure Storage account will be created with a SMB file share for any files you may create in the Bash shell. TO learn more about the Cloud Shell, refer to /docs.microsoft.com/azure/cloud-shell/overview.
Use Azure CLI to Delete Resource Group
In the Cloud Shell command prompt at the bottom of the portal, type in the following command and press Enter to list all resource groups in the subscription:
az group list
Type in the following command and press Enter to delete the cosmoslab resource group:
az group delete --name "cosmoslabs" --no-wait --yes
Close the Cloud Shell prompt at the bottom of the portal.
Close your browser application.