共用方式為


ArcExtensionResource.UpdateAsync 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 System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Hci.ArcExtensionResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Hci.Models.ArcExtensionPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Hci.Models.ArcExtensionPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Hci.ArcExtensionResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Hci.Models.ArcExtensionPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Hci.ArcExtensionResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, patch As ArcExtensionPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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