Reputation: 1129
I'm looking for a way of cleaning old application versions in Service Fabric via the SDK. It seems there is no way to unprovision a version by using FabricClient
's ApplicationManager
(similar to the action available in the Service Fabric Explorer, Application Type view) ?
I can get a list of all the versions for an application type by using: fabricClient.QueryManager.GetApplicationTypeListAsync()
Upvotes: 0
Views: 447
Reputation: 1129
SF performes a regular sync on the nodes, so after a while the folders on the disk for the unprovisioned versions will be cleaned.
Upvotes: 1