HDInsightClusterResource.GetScriptActions(CancellationToken) Method

Definition

Lists all the persisted script actions for the specified cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptActions
  • Operation Id: ScriptActions_ListByCluster
  • Default Api Version: 2024-08-01-preview
public virtual Azure.Pageable<Azure.ResourceManager.HDInsight.Models.RuntimeScriptActionDetail> GetScriptActions (System.Threading.CancellationToken cancellationToken = default);
abstract member GetScriptActions : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HDInsight.Models.RuntimeScriptActionDetail>
override this.GetScriptActions : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HDInsight.Models.RuntimeScriptActionDetail>
Public Overridable Function GetScriptActions (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of RuntimeScriptActionDetail)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of RuntimeScriptActionDetail that may take multiple service requests to iterate over.

Applies to