Extensions.GetComposeDeploymentUpgradeProgressAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the upgrade progress of the specified compose deployment.
public static System.Threading.Tasks.Task<System.Fabric.ComposeDeploymentUpgradeProgress> GetComposeDeploymentUpgradeProgressAsync (this System.Fabric.FabricClient.ComposeDeploymentClient client, string deploymentName);
static member GetComposeDeploymentUpgradeProgressAsync : System.Fabric.FabricClient.ComposeDeploymentClient * string -> System.Threading.Tasks.Task<System.Fabric.ComposeDeploymentUpgradeProgress>
<Extension()>
Public Function GetComposeDeploymentUpgradeProgressAsync (client As FabricClient.ComposeDeploymentClient, deploymentName As String) As Task(Of ComposeDeploymentUpgradeProgress)
Parameters
FabricClient object.
- deploymentName
- String
The name of the deployment.
Returns
A Task whose result is the upgrade progress of the specified compose deployment.
Exceptions
The FabricClient object is in a closed state. Dispose of the FabricClient object you are using and instantiate a new FabricClient object.
ComposeDeploymentNotFound: The compose deployment does not exist.
The request timed out but may have already been accepted for processing by the system.
The request was canceled before the timeout expired but may have already been accepted for processing by the system.