NotebookClient.StartCreateOrUpdateNotebookAsync Method

Definition

Creates or updates a Note Book.

public virtual System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.NotebookCreateOrUpdateNotebookOperation> StartCreateOrUpdateNotebookAsync (string notebookName, Azure.Analytics.Synapse.Artifacts.Models.NotebookResource notebook, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartCreateOrUpdateNotebookAsync : string * Azure.Analytics.Synapse.Artifacts.Models.NotebookResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.NotebookCreateOrUpdateNotebookOperation>
override this.StartCreateOrUpdateNotebookAsync : string * Azure.Analytics.Synapse.Artifacts.Models.NotebookResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.NotebookCreateOrUpdateNotebookOperation>
Public Overridable Function StartCreateOrUpdateNotebookAsync (notebookName As String, notebook As NotebookResource, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NotebookCreateOrUpdateNotebookOperation)

Parameters

notebookName
String

The notebook name.

notebook
NotebookResource

Note book resource definition.

ifMatch
String

ETag of the Note book 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

notebookName or notebook is null.

Applies to