FabricClient.ApplicationManagementClient.UpdateApplicationUpgradeAsync 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
UpdateApplicationUpgradeAsync(ApplicationUpgradeUpdateDescription) |
Modifies the upgrade parameters of a pending application upgrade. |
UpdateApplicationUpgradeAsync(ApplicationUpgradeUpdateDescription, TimeSpan, CancellationToken) |
Modifies the upgrade parameters of a pending application upgrade. |
UpdateApplicationUpgradeAsync(ApplicationUpgradeUpdateDescription)
Modifies the upgrade parameters of a pending application upgrade.
public System.Threading.Tasks.Task UpdateApplicationUpgradeAsync (System.Fabric.Description.ApplicationUpgradeUpdateDescription updateDescription);
member this.UpdateApplicationUpgradeAsync : System.Fabric.Description.ApplicationUpgradeUpdateDescription -> System.Threading.Tasks.Task
Public Function UpdateApplicationUpgradeAsync (updateDescription As ApplicationUpgradeUpdateDescription) As Task
Parameters
- updateDescription
- ApplicationUpgradeUpdateDescription
Description of parameters to modify. Unspecified parameters are left unmodified and will retain their current value in the upgrade.
Returns
A Task representing the operation.
Exceptions
ApplicationNotUpgrading: There is no pending application upgrade to modify.
Applies to
UpdateApplicationUpgradeAsync(ApplicationUpgradeUpdateDescription, TimeSpan, CancellationToken)
Modifies the upgrade parameters of a pending application upgrade.
public System.Threading.Tasks.Task UpdateApplicationUpgradeAsync (System.Fabric.Description.ApplicationUpgradeUpdateDescription updateDescription, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.UpdateApplicationUpgradeAsync : System.Fabric.Description.ApplicationUpgradeUpdateDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function UpdateApplicationUpgradeAsync (updateDescription As ApplicationUpgradeUpdateDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task
Parameters
- updateDescription
- ApplicationUpgradeUpdateDescription
Description of parameters to modify. Unspecified parameters are left unmodified and will retain their current value in the upgrade.
- timeout
- TimeSpan
The maximum amount of time the system will allow this operation to continue before returning TimeoutException.
- cancellationToken
- CancellationToken
The token that the operation is observing. It can be used to propagate a notification that the operation should be canceled.
Returns
A Task representing the operation.
Exceptions
ApplicationNotUpgrading: There is no pending application upgrade to modify.
Applies to
Azure SDK for .NET