SparkJobDefinitionClient.StartDebugSparkJobDefinitionAsync Method

Definition

Debug the spark job definition.

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

Parameters

sparkJobDefinitionAzureResource
SparkJobDefinitionResource

Spark Job Definition resource definition.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

sparkJobDefinitionAzureResource is null.

Applies to