次の方法で共有


ClustersOperationsExtensions.ExecuteScriptActionsAsync メソッド

定義

オーバーロード

ExecuteScriptActionsAsync(IClustersOperations, String, String, ExecuteScriptActionParameters, CancellationToken)

指定した HDInsight クラスターでスクリプト アクションを実行します。

ExecuteScriptActionsAsync(IClustersOperations, String, String, IList<RuntimeScriptAction>, Boolean, CancellationToken)

指定した HDInsight Running クラスターでスクリプト アクションを実行します。

ExecuteScriptActionsAsync(IClustersOperations, String, String, ExecuteScriptActionParameters, CancellationToken)

指定した HDInsight クラスターでスクリプト アクションを実行します。

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

パラメーター

operations
IClustersOperations

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

resourceGroupName
String

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

clusterName
String

クラスターの名前です。

parameters
ExecuteScriptActionParameters

スクリプト アクションを実行するためのパラメーター。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象

ExecuteScriptActionsAsync(IClustersOperations, String, String, IList<RuntimeScriptAction>, Boolean, CancellationToken)

指定した HDInsight Running クラスターでスクリプト アクションを実行します。

public static System.Threading.Tasks.Task ExecuteScriptActionsAsync (this Microsoft.Azure.Management.HDInsight.IClustersOperations operations, string resourceGroupName, string clusterName, System.Collections.Generic.IList<Microsoft.Azure.Management.HDInsight.Models.RuntimeScriptAction> scriptActions, bool persistOnSuccess, System.Threading.CancellationToken cancellationToken = default);
static member ExecuteScriptActionsAsync : Microsoft.Azure.Management.HDInsight.IClustersOperations * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.HDInsight.Models.RuntimeScriptAction> * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function ExecuteScriptActionsAsync (operations As IClustersOperations, resourceGroupName As String, clusterName As String, scriptActions As IList(Of RuntimeScriptAction), persistOnSuccess As Boolean, Optional cancellationToken As CancellationToken = Nothing) As Task

パラメーター

operations
IClustersOperations

Microsoft.Azure.Management.HDInsight.IClusterOperations への参照。

resourceGroupName
String

必須です。 リソース グループの名前。

clusterName
String

必須です。 クラスターの名前です。

scriptActions
IList<RuntimeScriptAction>

必須です。 実行する必要があるスクリプト アクションの一覧。

persistOnSuccess
Boolean

必須です。 スクリプトを永続化する必要があるかどうかを示すフラグ。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

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

適用対象