共用方式為


ClustersOperationsExtensions.BeginResizeAsync Method

Definition

Resizes the specified HDInsight cluster to the specified size.

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

Parameters

operations
IClustersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

clusterName
String

The name of the cluster.

parameters
ClusterResizeParameters

The parameters for the resize operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to