Share via


KqlScriptClient.StartCreateOrUpdateAsync Method

Definition

Creates or updates a KQL Script.

public virtual System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.KqlScriptCreateOrUpdateOperation> StartCreateOrUpdateAsync (string kqlScriptName, Azure.Analytics.Synapse.Artifacts.Models.KqlScriptResource kqlScript, System.Threading.CancellationToken cancellationToken = default);
abstract member StartCreateOrUpdateAsync : string * Azure.Analytics.Synapse.Artifacts.Models.KqlScriptResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.KqlScriptCreateOrUpdateOperation>
override this.StartCreateOrUpdateAsync : string * Azure.Analytics.Synapse.Artifacts.Models.KqlScriptResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.KqlScriptCreateOrUpdateOperation>
Public Overridable Function StartCreateOrUpdateAsync (kqlScriptName As String, kqlScript As KqlScriptResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of KqlScriptCreateOrUpdateOperation)

Parameters

kqlScriptName
String

KQL script name.

kqlScript
KqlScriptResource

KQL script.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

kqlScriptName or kqlScript is null.

Applies to