Share via


SparkBatchClient.GetSparkBatchJob Method

Definition

Gets a single spark batch job.

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