Share via


HDInsightClusterResource.GetScriptExecutionHistoriesAsync Method

Definition

Lists all scripts' execution history for the specified cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory
  • Operation Id: ScriptExecutionHistory_ListByCluster
  • Default Api Version: 2024-08-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Models.RuntimeScriptActionDetail> GetScriptExecutionHistoriesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetScriptExecutionHistoriesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Models.RuntimeScriptActionDetail>
override this.GetScriptExecutionHistoriesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HDInsight.Models.RuntimeScriptActionDetail>
Public Overridable Function GetScriptExecutionHistoriesAsync (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