Delen via


HDInsightClusterResource.Update Method

Definition

Patch HDInsight cluster with the specified parameters.

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

Parameters

patch
HDInsightClusterPatch

The cluster patch request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to