FabricClient.ClusterManagementClient.MoveNextFabricUpgradeDomainAsync 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.
Overloads
MoveNextFabricUpgradeDomainAsync(FabricUpgradeProgress) |
Instructs the Service Fabric to upgrade the next upgrade domain in the cluster if the current upgrade domain has been completed. |
MoveNextFabricUpgradeDomainAsync(FabricUpgradeProgress, TimeSpan, CancellationToken) |
Instructs Service Fabric to upgrade the next upgrade domain in the cluster if the current upgrade domain has been completed, by using the specified timeout and cancellation token. |
MoveNextFabricUpgradeDomainAsync(FabricUpgradeProgress)
Instructs the Service Fabric to upgrade the next upgrade domain in the cluster if the current upgrade domain has been completed.
public System.Threading.Tasks.Task MoveNextFabricUpgradeDomainAsync (System.Fabric.FabricUpgradeProgress upgradeProgress);
member this.MoveNextFabricUpgradeDomainAsync : System.Fabric.FabricUpgradeProgress -> System.Threading.Tasks.Task
Public Function MoveNextFabricUpgradeDomainAsync (upgradeProgress As FabricUpgradeProgress) As Task
Parameters
- upgradeProgress
- FabricUpgradeProgress
The fabric upgrade process object to use.
Returns
The upgraded domain in the cluster.
Exceptions
The FabricClient object is in a closed state. Dispose of the FabricClient object you are using and instantiate a new FabricClient object.
Remarks
Similar to MoveNextApplicationUpgradeDomainAsync(ApplicationUpgradeProgress).
Applies to
MoveNextFabricUpgradeDomainAsync(FabricUpgradeProgress, TimeSpan, CancellationToken)
Instructs Service Fabric to upgrade the next upgrade domain in the cluster if the current upgrade domain has been completed, by using the specified timeout and cancellation token.
public System.Threading.Tasks.Task MoveNextFabricUpgradeDomainAsync (System.Fabric.FabricUpgradeProgress upgradeProgress, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.MoveNextFabricUpgradeDomainAsync : System.Fabric.FabricUpgradeProgress * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function MoveNextFabricUpgradeDomainAsync (upgradeProgress As FabricUpgradeProgress, timeout As TimeSpan, cancellationToken As CancellationToken) As Task
Parameters
- upgradeProgress
- FabricUpgradeProgress
The fabric upgrade process object to use.
- timeout
- TimeSpan
The maximum amount of time Service Fabric will allow this operation to continue before returning a TimeoutException.
- cancellationToken
- CancellationToken
The cancellation token that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation may still be completed even if it is cancelled.
Returns
The upgraded domain in the cluster.
Exceptions
The FabricClient object is in a closed state. Dispose of the FabricClient object you are using and instantiate a new FabricClient object.
Remarks
Similar to MoveNextApplicationUpgradeDomainAsync(ApplicationUpgradeProgress, TimeSpan, CancellationToken).
Applies to
Azure SDK for .NET