Language

HcpOpenShiftClusterResource.UpdateAsync Method

Definition

Update a HcpOpenShiftCluster

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}.
  • Operation Id. : HcpOpenShiftClusters_Update.
  • Default Api Version. : 2026-09-01-preview.
  • Resource. : HcpOpenShiftClusterResource.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RedHatOpenShiftHcp.HcpOpenShiftClusterResource>> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.RedHatOpenShiftHcp.HcpOpenShiftClusterData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.RedHatOpenShiftHcp.HcpOpenShiftClusterData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RedHatOpenShiftHcp.HcpOpenShiftClusterResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.RedHatOpenShiftHcp.HcpOpenShiftClusterData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RedHatOpenShiftHcp.HcpOpenShiftClusterResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As HcpOpenShiftClusterData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of HcpOpenShiftClusterResource))

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.

data
HcpOpenShiftClusterData

The resource properties to be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to