Skip to content

Commit bd8be5f

Browse files
authored
Resource clean up (#372)
* clean up resources * clean up * verbiage * lint * Verbiage
1 parent f29dcf5 commit bd8be5f

6 files changed

+16
-1
lines changed

docs/deployment/azure/aca-deployment-azd-in-depth.md

+2
Original file line numberDiff line numberDiff line change
@@ -403,3 +403,5 @@ azd env new
403403
```
404404

405405
This will prompt the user for subscription and resource group information again and subsequent `azd up`, `azd provision`, and `azd deploy` invocations will use this new environment by default. The `--environment` switch can be applied to these commands to switch between environments.
406+
407+
[!INCLUDE [clean-up-resources](../../includes/clean-up-resources.md)]

docs/deployment/azure/aca-deployment-github-actions.md

+2
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,5 @@ The Azure Developer CLI enables you to automatically create CICD pipelines with
153153
:::image type="content" source="media/deployment-links.png" alt-text="A screenshot showing the deployed app links.":::
154154

155155
Congratulations! You successfully deployed a .NET Aspire app using the Azure Developer CLI and GitHub Actions.
156+
157+
[!INCLUDE [clean-up-resources](../../includes/clean-up-resources.md)]

docs/deployment/azure/aca-deployment.md

+2
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,5 @@ Click the **Application URL** link to open the front end in the browser.
5252
:::image type="content" source="../../media/front-end-open.png" alt-text="A screenshot of the .NET Aspire app's front end in the browser.":::
5353

5454
When you click the "Weather" node in the navigation bar, the front end `web` container app makes a call to the `apiservice` container app to get data. The front end's output will be cached using the `redis` container app and the [.NET Aspire Redis Output Caching component](../../caching/stackexchange-redis-output-caching-component.md). As you refresh the front end a few times, you'll notice that the weather data is cached. It will update after a few seconds.
55+
56+
[!INCLUDE [clean-up-resources](../../includes/clean-up-resources.md)]

docs/includes/clean-up-resources.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Clean up resources
2+
3+
Run the following Azure CLI command to delete the resource group when you no longer need the Azure resources you created. Deleting the resource group also deletes the resources contained inside of it.
4+
5+
```azurecli
6+
az group delete --name <your-resource-group-name>
7+
```

docs/messaging/messaging-components.md

+2
Original file line numberDiff line numberDiff line change
@@ -294,3 +294,5 @@ The sample app is now ready for testing. Verify that the data submitted to the A
294294
1. Switch back to the **AspireWorkerService** logs. You should see the test message printed in the output logs.
295295

296296
Congratulations! You created and configured an ASP.NET Core API that connects to Azure Service Bus using Aspire components.
297+
298+
[!INCLUDE [clean-up-resources](../includes/clean-up-resources.md)]

docs/storage/azure-storage-components.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,6 @@ Since you choose to use Azurite, there's no need to clean up these resources whe
241241
:::zone-end
242242
:::zone pivot="azure-portal,azure-cli"
243243

244-
Don't forget to clean up any Azure resources when you're done testing them.
244+
[!INCLUDE [clean-up-resources](../includes/clean-up-resources.md)]
245245

246246
:::zone-end

0 commit comments

Comments
 (0)