Share via


ClustersOperationsExtensions.BeginExecuteScriptActionsAsync Method

Definition

Overloads

BeginExecuteScriptActionsAsync(IClustersOperations, String, String, ExecuteScriptActionParameters, CancellationToken)

Executes script actions on the specified HDInsight cluster.

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

Begins Executing script actions on specified HDInsight Running cluster.

BeginExecuteScriptActionsAsync(IClustersOperations, String, String, ExecuteScriptActionParameters, CancellationToken)

Executes script actions on the specified HDInsight cluster.

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

Parameters

operations
IClustersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

clusterName
String

The name of the cluster.

parameters
ExecuteScriptActionParameters

The parameters for executing script actions.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to

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

Begins Executing script actions on specified HDInsight Running cluster.

public static System.Threading.Tasks.Task BeginExecuteScriptActionsAsync (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 BeginExecuteScriptActionsAsync : 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 BeginExecuteScriptActionsAsync (operations As IClustersOperations, resourceGroupName As String, clusterName As String, scriptActions As IList(Of RuntimeScriptAction), persistOnSuccess As Boolean, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IClustersOperations

Reference to the Microsoft.Azure.Management.HDInsight.IClusterOperations.

resourceGroupName
String

Required. The name of the resource group.

clusterName
String

Required. The name of the cluster.

scriptActions
IList<RuntimeScriptAction>

Required. The list of script actions that needs to be executed.

persistOnSuccess
Boolean

Required. Flag indicating if the script needs to be persisted.

cancellationToken
CancellationToken

The cancellation token.

Returns

The cluster long running operation response.

Applies to