Condividi tramite


HybridComputeMachineResource.UpgradeExtensions Method

Definition

The operation to Upgrade Machine Extensions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions
  • Operation Id: UpgradeExtensions
  • Default Api Version: 2024-07-10
public virtual Azure.ResourceManager.ArmOperation UpgradeExtensions (Azure.WaitUntil waitUntil, Azure.ResourceManager.HybridCompute.Models.MachineExtensionUpgrade extensionUpgradeParameters, System.Threading.CancellationToken cancellationToken = default);
abstract member UpgradeExtensions : Azure.WaitUntil * Azure.ResourceManager.HybridCompute.Models.MachineExtensionUpgrade * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.UpgradeExtensions : Azure.WaitUntil * Azure.ResourceManager.HybridCompute.Models.MachineExtensionUpgrade * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function UpgradeExtensions (waitUntil As WaitUntil, extensionUpgradeParameters As MachineExtensionUpgrade, Optional cancellationToken As CancellationToken = Nothing) As 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.

extensionUpgradeParameters
MachineExtensionUpgrade

Parameters supplied to the Upgrade Extensions operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

extensionUpgradeParameters is null.

Applies to