Search code examples
azure-service-fabric

Detecting Service Fabric upgrade is completed using .NET client


Upgrading an existing SF application using .NET client with FabricClient.ApplicationManagementClient.UpgradeApplicationAsync and getting the status of upgrade using FabricClient.ApplicationManagementClient.GetApplicationUpgradeProgressAsync. Last command returns ApplicationUpgradeProgress with a property UpgradeStatus. I was hoping this enum (ApplicationUpgradeState) based property would have a value of Completed or something similar, but there's nothing like that.

What is the right way to determine (using .NET client) that a given SF application has successfully completed? Is there a callback option?


Solution

  • ApplicationUpgradeState.RollingForwardCompleted