HciClusterResource.UpdateAsync(HciClusterPatch, CancellationToken) Method

Definition

Update an HCI cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}
  • Operation Id: Clusters_Update
  • Default Api Version: 2024-04-01
  • Resource: HciClusterResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.HciClusterResource>> UpdateAsync (Azure.ResourceManager.Hci.Models.HciClusterPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Hci.Models.HciClusterPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.HciClusterResource>>
override this.UpdateAsync : Azure.ResourceManager.Hci.Models.HciClusterPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.HciClusterResource>>
Public Overridable Function UpdateAsync (patch As HciClusterPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HciClusterResource))

Parameters

patch
HciClusterPatch

Details of the HCI cluster.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to