title | description | services | author | manager | ms.service | ms.topic | ms.date | ms.author | ms.custom |
---|---|---|---|---|---|---|---|---|---|
Azure Service Fabric CLI (sfctl) Script Remove Sample |
Remove an application from an Azure Service Fabric cluster using the Azure Service Fabric CLI |
service-fabric |
athinanthny |
chackdan |
service-fabric |
sample |
12/06/2017 |
atsenthi |
mvc |
This sample script deletes a running Service Fabric application instance, then unregisters an application type and version from the cluster. Deleting the application instance also deletes all the running service instances associated with that application. Next, the application files are deleted from the image store.
If needed, install the Service Fabric CLI.
[!code-shmain]
For more information, see the Service Fabric CLI documentation.
Additional Service Fabric CLI samples for Azure Service Fabric can be found in the Service Fabric CLI samples.