你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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