Compartilhar via


SparkSessionClient.GetSparkSessionAsync Método

Definição

Obtém uma única sessão do Spark.

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

Parâmetros

sessionId
Int32

Identificador da sessão.

detailed
Nullable<Boolean>

Parâmetro de consulta opcional que especifica se a resposta detalhada é retornada além do livy simples.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a