Tutorial: Remove an application and resources

Important

The preview of Azure Service Fabric Mesh has been retired. New deployments will no longer be permitted through the Service Fabric Mesh API. Support for existing deployments will continue through April 28, 2021.

For details, see Azure Service Fabric Mesh Preview Retirement.

This tutorial is part four of a series. You'll learn how to remove a running application that was previously deployed to Service Fabric Mesh.

In part four of the series, you learn how to:

  • Delete an app running in Service Fabric Mesh
  • Delete the application resources

In this tutorial series you learn how to:

Service Fabric Mesh is currently in preview. Previews are made available to you on the condition that you agree to the supplemental terms of use. Some aspects of this feature may change prior to general availability (GA).

Prerequisites

Before you begin this tutorial:

Delete the resource group and all the resources

When no longer needed, delete all of the resources you created. Previously, you created an new resource group to host the Azure Container Registry instance and the Service Fabric Mesh application resources. You can delete this resource group, which will delete all of the associated resources.

az group delete --resource-group myResourceGroup
Remove-AzureRmResourceGroup -Name myResourceGroup

Individually delete the resources

You can also delete the ACR instance, Service Fabric Mesh application, and network resources individually.

To delete the ACR instance:

az acr delete --resource-group myResourceGroup --name myContainerRegistry

To delete the Service Fabric Mesh application:

az mesh app delete --resource-group myResourceGroup --name todolistapp

To delete the network:

az mesh network delete --resource-group myResourceGroup --name todolistappNetwork

Next steps

In this part of the tutorial, you learned how to:

  • Delete an app running in Service Fabric Mesh
  • Delete the application resources