Partilhar via


HDInsightClusterResource.UpdateAsync Método

Definição

Corrija o cluster HDInsight com os parâmetros especificados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}
  • IdClusters_Update de operação
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))

Parâmetros

patch
HDInsightClusterPatch

A solicitação de patch do cluster.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a