你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ClustersOperationsExtensions.BeginResizingAsync 方法

定义

开始调整指定的 HDInsight 群集的大小。

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

参数

operations
IClustersOperations

对 Microsoft.Azure.Management.HDInsight.IClusterOperations 的引用。

resourceGroupName
String

必需。 资源组的名称。

clusterName
String

必需。 群集的名称。

targetInstanceCount
Int32

必需。 目标实例计数。

cancellationToken
CancellationToken

取消标记。

返回

群集长时间运行的操作响应。

适用于