Condividi tramite


SparkJobDefinitionClient.StartCreateOrUpdateSparkJobDefinition Method

Definition

Creates or updates a Spark Job Definition.

public virtual Azure.Analytics.Synapse.Artifacts.SparkJobDefinitionCreateOrUpdateSparkJobDefinitionOperation StartCreateOrUpdateSparkJobDefinition (string sparkJobDefinitionName, Azure.Analytics.Synapse.Artifacts.Models.SparkJobDefinitionResource sparkJobDefinition, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartCreateOrUpdateSparkJobDefinition : string * Azure.Analytics.Synapse.Artifacts.Models.SparkJobDefinitionResource * string * System.Threading.CancellationToken -> Azure.Analytics.Synapse.Artifacts.SparkJobDefinitionCreateOrUpdateSparkJobDefinitionOperation
override this.StartCreateOrUpdateSparkJobDefinition : string * Azure.Analytics.Synapse.Artifacts.Models.SparkJobDefinitionResource * string * System.Threading.CancellationToken -> Azure.Analytics.Synapse.Artifacts.SparkJobDefinitionCreateOrUpdateSparkJobDefinitionOperation
Public Overridable Function StartCreateOrUpdateSparkJobDefinition (sparkJobDefinitionName As String, sparkJobDefinition As SparkJobDefinitionResource, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As SparkJobDefinitionCreateOrUpdateSparkJobDefinitionOperation

Parameters

sparkJobDefinitionName
String

The spark job definition name.

sparkJobDefinition
SparkJobDefinitionResource

Spark Job Definition resource definition.

ifMatch
String

ETag of the Spark Job Definition entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

sparkJobDefinitionName or sparkJobDefinition is null.

Applies to