次の方法で共有


IClustersOperations.ExecuteScriptActionsAsync メソッド

定義

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

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> ExecuteScriptActionsAsync (string resourceGroupName, string clusterName, System.Collections.Generic.IList<Microsoft.Azure.Management.HDInsight.Models.RuntimeScriptAction> scriptActions, bool persistOnSuccess, System.Threading.CancellationToken cancellationToken = default);
abstract member ExecuteScriptActionsAsync : 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 ExecuteScriptActionsAsync (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 の場合にスローされます

適用対象