Compartilhar via


SparkBatchClient.GetSparkBatchJobAsync Método

Definição

Obtém um único trabalho em lote do Spark.

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))

Parâmetros

batchId
Int32

Identificador para o trabalho em lote.

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