SparkJobDefinitionClient.StartCreateOrUpdateSparkJobDefinition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET