Dela via


HDInsightClusterResource.GetScriptActionsAsync(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.AsyncPageable<Azure.ResourceManager.HDInsight.Models.RuntimeScriptActionDetail> GetScriptActionsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetScriptActionsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Models.RuntimeScriptActionDetail>
override this.GetScriptActionsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Models.RuntimeScriptActionDetail>
Public Overridable Function GetScriptActionsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RuntimeScriptActionDetail)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to