Share via


SparkBatchClient.GetSparkBatchJobs Method

Definition

List all spark batch jobs which are running under a particular spark pool.

public virtual Azure.Response<Azure.Analytics.Synapse.Spark.Models.SparkBatchJobCollection> GetSparkBatchJobs (int? from = default, int? size = default, bool? detailed = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSparkBatchJobs : Nullable<int> * Nullable<int> * Nullable<bool> * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.Synapse.Spark.Models.SparkBatchJobCollection>
override this.GetSparkBatchJobs : Nullable<int> * Nullable<int> * Nullable<bool> * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.Synapse.Spark.Models.SparkBatchJobCollection>
Public Overridable Function GetSparkBatchJobs (Optional from As Nullable(Of Integer) = Nothing, Optional size As Nullable(Of Integer) = Nothing, Optional detailed As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SparkBatchJobCollection)

Parameters

from
Nullable<Int32>

Optional param specifying which index the list should begin from.

size
Nullable<Int32>

Optional param specifying the size of the returned list. By default it is 20 and that is the maximum.

detailed
Nullable<Boolean>

Optional query param specifying whether detailed response is returned beyond plain livy.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to