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

RunNotebookClient.StartCreateRunAsync Method

Definition

Run notebook.

public virtual System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.RunNotebookCreateRunOperation> StartCreateRunAsync(string runId, Azure.Analytics.Synapse.Artifacts.Models.RunNotebookRequest runNotebookRequest, System.Threading.CancellationToken cancellationToken = default);
abstract member StartCreateRunAsync : string * Azure.Analytics.Synapse.Artifacts.Models.RunNotebookRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.RunNotebookCreateRunOperation>
override this.StartCreateRunAsync : string * Azure.Analytics.Synapse.Artifacts.Models.RunNotebookRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.RunNotebookCreateRunOperation>
Public Overridable Function StartCreateRunAsync (runId As String, runNotebookRequest As RunNotebookRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RunNotebookCreateRunOperation)

Parameters

runId
String

Notebook run id. For Create Run, you can generate a new GUID and use it here. For other actions, this is the same ID used in Create Run.

runNotebookRequest
RunNotebookRequest

Run notebook request payload.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

runId or runNotebookRequest is null.

Applies to