IClustersOperations.ExecuteScriptActionsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes script actions on the specified HDInsight cluster.
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)
Parameters
- resourceGroupName
- String
The name of the resource group.
- clusterName
- String
The name of the cluster.
- scriptActions
- IList<RuntimeScriptAction>
The script actions to execute.
- persistOnSuccess
- Boolean
Whether or not to persist the script action on success.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Exceptions
Thrown when the operation returned an invalid status code
Thrown when a required parameter is null
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET