Condividi tramite


SparkJobDefinitionClient.GetSparkJobDefinitionAsync Method

Definition

Gets a Spark Job Definition.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.Artifacts.Models.SparkJobDefinitionResource>> GetSparkJobDefinitionAsync (string sparkJobDefinitionName, string ifNoneMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSparkJobDefinitionAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.Artifacts.Models.SparkJobDefinitionResource>>
override this.GetSparkJobDefinitionAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.Artifacts.Models.SparkJobDefinitionResource>>
Public Overridable Function GetSparkJobDefinitionAsync (sparkJobDefinitionName As String, Optional ifNoneMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SparkJobDefinitionResource))

Parameters

sparkJobDefinitionName
String

The spark job definition name.

ifNoneMatch
String

ETag of the Spark Job Definition entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to