Compartir a través de


ClustersOperationsExtensions.ExecuteScriptActionsAsync Método

Definición

Sobrecargas

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

Ejecuta acciones de script en el clúster de HDInsight especificado.

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

Ejecuta acciones de script en el clúster en ejecución de HDInsight especificado.

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

Ejecuta acciones de script en el clúster de HDInsight especificado.

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

Parámetros

operations
IClustersOperations

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos.

clusterName
String

Nombre del clúster.

parameters
ExecuteScriptActionParameters

Parámetros para ejecutar acciones de script.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a

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

Ejecuta acciones de script en el clúster en ejecución de HDInsight especificado.

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

Parámetros

operations
IClustersOperations

Referencia a Microsoft.Azure.Management.HDInsight.IClusterOperations.

resourceGroupName
String

Obligatorio. Nombre del grupo de recursos.

clusterName
String

Obligatorio. Nombre del clúster.

scriptActions
IList<RuntimeScriptAction>

Obligatorio. Lista de acciones de script que se deben ejecutar.

persistOnSuccess
Boolean

Obligatorio. Marca que indica si el script debe conservarse.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Respuesta de la operación de larga duración del clúster.

Se aplica a