Condividi tramite


SparkConfigurationClient.StartCreateOrUpdateSparkConfigurationAsync Method

Definition

Creates or updates a sparkconfiguration.

public virtual System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.SparkConfigurationCreateOrUpdateSparkConfigurationOperation> StartCreateOrUpdateSparkConfigurationAsync (string sparkConfigurationName, Azure.Analytics.Synapse.Artifacts.Models.SparkConfigurationResource sparkConfiguration, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartCreateOrUpdateSparkConfigurationAsync : string * Azure.Analytics.Synapse.Artifacts.Models.SparkConfigurationResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.SparkConfigurationCreateOrUpdateSparkConfigurationOperation>
override this.StartCreateOrUpdateSparkConfigurationAsync : string * Azure.Analytics.Synapse.Artifacts.Models.SparkConfigurationResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.SparkConfigurationCreateOrUpdateSparkConfigurationOperation>
Public Overridable Function StartCreateOrUpdateSparkConfigurationAsync (sparkConfigurationName As String, sparkConfiguration As SparkConfigurationResource, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SparkConfigurationCreateOrUpdateSparkConfigurationOperation)

Parameters

sparkConfigurationName
String

The spark Configuration name.

sparkConfiguration
SparkConfigurationResource

SparkConfiguration resource definition.

ifMatch
String

ETag of the sparkConfiguration 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

sparkConfigurationName or sparkConfiguration is null.

Applies to