次の方法で共有


IClustersOperations.BeginExecuteScriptActionsAsync メソッド

定義

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

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

パラメーター

resourceGroupName
String

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

clusterName
String

クラスターの名前です。

scriptActions
IList<RuntimeScriptAction>

実行するスクリプト アクション。

persistOnSuccess
Boolean

成功時にスクリプト アクションを永続化するかどうか。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

操作が無効な状態コードを返したときにスローされます

必須パラメーターが null の場合にスローされます

適用対象