Dela via


ArcExtensionResource.Update Method

Definition

Update Extension for HCI cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions/{extensionName}
  • Operation Id: Extensions_Update
  • Default Api Version: 2024-04-01
  • Resource: ArcExtensionResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Hci.ArcExtensionResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.Hci.Models.ArcExtensionPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.Hci.Models.ArcExtensionPatch * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Hci.ArcExtensionResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.Hci.Models.ArcExtensionPatch * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Hci.ArcExtensionResource>
Public Overridable Function Update (waitUntil As WaitUntil, patch As ArcExtensionPatch, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of ArcExtensionResource)

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.

patch
ArcExtensionPatch

Details of the Machine Extension to be created.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to