Freigeben über


HDInsightClusterResource.UpdateAsync Methode

Definition

Patchen Sie den HDInsight-Cluster mit den angegebenen Parametern.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}
  • Vorgangs-IdClusters_Update
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))

Parameter

patch
HDInsightClusterPatch

Die Clusterpatchanforderung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: