Cleaning up Azure resources
For this training exercise, we created a scratch
namespace in Azure Data Lake storage. This namespace is not required for the rest of the book, so you may delete i:
- Invoke the following commands in the Cloud Shell to delete the
scratch
namespace:SCRATCH_NAMESPACE="scratch" STORAGEACCOUNTNAME="traininglakehouse" az storage fs delete -n $SCRATCH_NAMESPACE --account-name $STORAGEACCOUNTNAME --yes
- Invoke the following commands in the Cloud Shell to delete the Azure Databricks workspace:
RESOURCEGROUPNAME="training_rg" WORKSPACE="trainingdatabricks" az config set extension.use_dynamic_install=yes_without_prompt az databricks workspace delete --resource-group $RESOURCEGROUPNAME --name $WORKSPACE
The resources have now been deleted and we should be good to go!