Share via


SparkBatchClient.GetSparkBatchJobAsync Method

Definition

Gets a single spark batch job.

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

Parameters

batchId
Int32

Identifier for the batch job.

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