ServiceFabricManagedApplicationResource.UpdateUpgradeAsync 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.
Send a request to update the current application upgrade.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/updateUpgrade
- Operation Id: Applications_UpdateUpgrade
- Default Api Version: 2025-10-01-preview
- Resource: ServiceFabricManagedApplicationResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> UpdateUpgradeAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.ServiceFabricManagedClusters.Models.RuntimeUpdateApplicationUpgradeContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateUpgradeAsync : Azure.WaitUntil * Azure.ResourceManager.ServiceFabricManagedClusters.Models.RuntimeUpdateApplicationUpgradeContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.UpdateUpgradeAsync : Azure.WaitUntil * Azure.ResourceManager.ServiceFabricManagedClusters.Models.RuntimeUpdateApplicationUpgradeContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function UpdateUpgradeAsync (waitUntil As WaitUntil, content As RuntimeUpdateApplicationUpgradeContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)
Parameters
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
The parameters for updating an application upgrade.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content is null.