Partilhar via


IClustersOperations.BeginExecuteScriptActionsAsync Método

Definição

Começa a executar ações de script no cluster HDInsight especificado.

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)

Parâmetros

resourceGroupName
String

O nome do grupo de recursos.

clusterName
String

O nome do cluster.

scriptActions
IList<RuntimeScriptAction>

As ações de script a serem executadas.

persistOnSuccess
Boolean

Se deve ou não persistir a ação de script em caso de êxito.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

Gerada quando a operação retornou um código de status inválido

Gerado quando um parâmetro necessário é nulo

Aplica-se a