다음을 통해 공유


HDInsightClusterResource.UpdateAsync 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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.HDInsightClusterResource>> UpdateAsync (Azure.ResourceManager.HDInsight.Models.HDInsightClusterPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.HDInsight.Models.HDInsightClusterPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.HDInsightClusterResource>>
override this.UpdateAsync : Azure.ResourceManager.HDInsight.Models.HDInsightClusterPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.HDInsightClusterResource>>
Public Overridable Function UpdateAsync (patch As HDInsightClusterPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HDInsightClusterResource))

Parameters

patch
HDInsightClusterPatch

The cluster patch request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to