Skip to content

Latest commit

 

History

History
89 lines (52 loc) · 2.57 KB

File metadata and controls

89 lines (52 loc) · 2.57 KB
author karlerickson
ms.author v-shilichen
ms.service azure-spring-apps
ms.topic include
ms.date 08/19/2025
ms.update-cycle 1095-days

6. Clean up resources

If you plan to continue working with subsequent quickstarts and tutorials, you might want to leave these resources in place. When you no longer need the resources, you can clean up unnecessary resources to avoid Azure charges.

::: zone pivot="sc-enterprise"

[!INCLUDE clean-up-resources-via-resource-group]

[!INCLUDE clean-up-resources-via-resource-group]

Use the following command to delete the resource group by using the Azure CLI:

az group delete --name ${RESOURCE_GROUP}

Use the following steps to delete the resource group by using IntelliJ:

  1. Go to your IntelliJ IDEA and find the name of your resource group.

  2. Right-click the resource group and select Delete to delete all related Azure resources.

Use the following steps to delete the resource group by using Visual Studio Code:

  1. Go to Visual Studio Code, select Group By to enable Group by Resource Group, and then find the name of your resource group.

  2. Right-click the resource group and select Delete Resource Group... to delete all related Azure resources.


::: zone-end

::: zone pivot="sc-standard"

[!INCLUDE clean-up-resources-via-resource-group]

[!INCLUDE clean-up-resources-via-resource-group]

Use the following command to delete all the Azure resources used in this sample application:

azd down

The following list describes the command interaction:

  • Total resources to delete: <your-resources-total>, are you sure you want to continue?: Press y.

The console outputs messages similar to the following example:

SUCCESS: Your application was removed from Azure in xx minutes xx seconds.

::: zone-end