Compartilhar via


IClustersOperations.ResizeWithHttpMessagesAsync Método

Definição

Redimensiona o cluster HDInsight especificado para o tamanho especificado.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> ResizeWithHttpMessagesAsync (string resourceGroupName, string clusterName, Microsoft.Azure.Management.HDInsight.Models.ClusterResizeParameters parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ResizeWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.HDInsight.Models.ClusterResizeParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function ResizeWithHttpMessagesAsync (resourceGroupName As String, clusterName As String, parameters As ClusterResizeParameters, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

Parâmetros

resourceGroupName
String

O nome do grupo de recursos.

clusterName
String

O nome do cluster.

parameters
ClusterResizeParameters

Os parâmetros para a operação de redimensionamento.

customHeaders
Dictionary<String,List<String>>

Os cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

Gerado quando a operação retornou um código de status inválido

Gerado quando um parâmetro necessário é nulo

Aplica-se a