Compartilhar via


ClustersOperationsExtensions.BeginResizingAsync Método

Definição

Começa a redimensionar o cluster HDInsight especificado.

public static System.Threading.Tasks.Task BeginResizingAsync (this Microsoft.Azure.Management.HDInsight.IClustersOperations operations, string resourceGroupName, string clusterName, int targetInstanceCount, System.Threading.CancellationToken cancellationToken = default);
static member BeginResizingAsync : Microsoft.Azure.Management.HDInsight.IClustersOperations * string * string * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginResizingAsync (operations As IClustersOperations, resourceGroupName As String, clusterName As String, targetInstanceCount As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task

Parâmetros

operations
IClustersOperations

Referência ao Microsoft.Azure.Management.HDInsight.IClusterOperations.

resourceGroupName
String

Obrigatórios. O nome do grupo de recursos.

clusterName
String

Obrigatórios. O nome do cluster.

targetInstanceCount
Int32

Obrigatórios. A contagem de instâncias de destino.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

A resposta da operação de execução prolongada do cluster.

Aplica-se a