共用方式為


FabricClient.ClusterManagementClient.UpdateFabricUpgradeAsync Method

Definition

Overloads

UpdateFabricUpgradeAsync(FabricUpgradeUpdateDescription)

Modifies the upgrade parameters that describe the behavior of the current cluster upgrade.

UpdateFabricUpgradeAsync(FabricUpgradeUpdateDescription, TimeSpan, CancellationToken)

Modifies the upgrade parameters that describe the behavior of the current cluster upgrade.

UpdateFabricUpgradeAsync(FabricUpgradeUpdateDescription)

Modifies the upgrade parameters that describe the behavior of the current cluster upgrade.

public System.Threading.Tasks.Task UpdateFabricUpgradeAsync (System.Fabric.Description.FabricUpgradeUpdateDescription updateDescription);
member this.UpdateFabricUpgradeAsync : System.Fabric.Description.FabricUpgradeUpdateDescription -> System.Threading.Tasks.Task
Public Function UpdateFabricUpgradeAsync (updateDescription As FabricUpgradeUpdateDescription) As Task

Parameters

updateDescription
FabricUpgradeUpdateDescription

Description of the new upgrade parameters to apply.

Returns

The current cluster upgrade.

Applies to

UpdateFabricUpgradeAsync(FabricUpgradeUpdateDescription, TimeSpan, CancellationToken)

Modifies the upgrade parameters that describe the behavior of the current cluster upgrade.

public System.Threading.Tasks.Task UpdateFabricUpgradeAsync (System.Fabric.Description.FabricUpgradeUpdateDescription updateDescription, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.UpdateFabricUpgradeAsync : System.Fabric.Description.FabricUpgradeUpdateDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function UpdateFabricUpgradeAsync (updateDescription As FabricUpgradeUpdateDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task

Parameters

updateDescription
FabricUpgradeUpdateDescription

The new upgrade parameters to apply.

timeout
TimeSpan

The maximum amount of time Service Fabric will allow this operation to continue before throwing 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 current cluster upgrade.

Applies to