次の方法で共有


ClustersOperationsExtensions.ResizeAsync メソッド

定義

オーバーロード

ResizeAsync(IClustersOperations, String, String, ClusterResizeParameters, CancellationToken)

指定した HDInsight クラスターのサイズを指定したサイズに変更します。

ResizeAsync(IClustersOperations, String, String, Int32, CancellationToken)

指定した HDInsight クラスターのサイズを変更します。

ResizeAsync(IClustersOperations, String, String, ClusterResizeParameters, CancellationToken)

指定した HDInsight クラスターのサイズを指定したサイズに変更します。

public static System.Threading.Tasks.Task ResizeAsync (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 ResizeAsync : Microsoft.Azure.Management.HDInsight.IClustersOperations * string * string * Microsoft.Azure.Management.HDInsight.Models.ClusterResizeParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function ResizeAsync (operations As IClustersOperations, resourceGroupName As String, clusterName As String, parameters As ClusterResizeParameters, Optional cancellationToken As CancellationToken = Nothing) As Task

パラメーター

operations
IClustersOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソース グループの名前。

clusterName
String

クラスターの名前です。

parameters
ClusterResizeParameters

サイズ変更操作のパラメーター。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象

ResizeAsync(IClustersOperations, String, String, Int32, CancellationToken)

指定した HDInsight クラスターのサイズを変更します。

public static System.Threading.Tasks.Task ResizeAsync (this Microsoft.Azure.Management.HDInsight.IClustersOperations operations, string resourceGroupName, string clusterName, int targetInstanceCount, System.Threading.CancellationToken cancellationToken = default);
static member ResizeAsync : Microsoft.Azure.Management.HDInsight.IClustersOperations * string * string * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function ResizeAsync (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

キャンセル トークン。

戻り値

クラスターの実行時間の長い操作応答。

適用対象