Share via


ClustersOperationsExtensions.ExecuteScriptActions Method

Definition

Overloads

ExecuteScriptActions(IClustersOperations, String, String, IList<RuntimeScriptAction>, Boolean)

Executes script actions on specified HDInsight Running cluster.

ExecuteScriptActions(IClustersOperations, String, String, ExecuteScriptActionParameters)

Executes script actions on the specified HDInsight cluster.

ExecuteScriptActions(IClustersOperations, String, String, IList<RuntimeScriptAction>, Boolean)

Executes script actions on specified HDInsight Running cluster.

public static void ExecuteScriptActions (this Microsoft.Azure.Management.HDInsight.IClustersOperations operations, string resourceGroupName, string clusterName, System.Collections.Generic.IList<Microsoft.Azure.Management.HDInsight.Models.RuntimeScriptAction> scriptActions, bool persistOnSuccess);
static member ExecuteScriptActions : Microsoft.Azure.Management.HDInsight.IClustersOperations * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.HDInsight.Models.RuntimeScriptAction> * bool -> unit
<Extension()>
Public Sub ExecuteScriptActions (operations As IClustersOperations, resourceGroupName As String, clusterName As String, scriptActions As IList(Of RuntimeScriptAction), persistOnSuccess As Boolean)

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.

Applies to

ExecuteScriptActions(IClustersOperations, String, String, ExecuteScriptActionParameters)

Executes script actions on the specified HDInsight cluster.

public static void ExecuteScriptActions (this Microsoft.Azure.Management.HDInsight.IClustersOperations operations, string resourceGroupName, string clusterName, Microsoft.Azure.Management.HDInsight.Models.ExecuteScriptActionParameters parameters);
static member ExecuteScriptActions : Microsoft.Azure.Management.HDInsight.IClustersOperations * string * string * Microsoft.Azure.Management.HDInsight.Models.ExecuteScriptActionParameters -> unit
<Extension()>
Public Sub ExecuteScriptActions (operations As IClustersOperations, resourceGroupName As String, clusterName As String, parameters As ExecuteScriptActionParameters)

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.

Applies to