Share via


SparkSessionClient.GetSparkSession Method

Definition

Gets a single spark session.

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

Parameters

sessionId
Int32

Identifier for the session.

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