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

AnalyticsSynapseArtifactsModelFactory.RunNotebookSnapshot 方法

定义

初始化 RunNotebookSnapshot 的新实例。

public static Azure.Analytics.Synapse.Artifacts.Models.RunNotebookSnapshot RunNotebookSnapshot (string exitValue = default, string id = default, string notebook = default, Azure.Analytics.Synapse.Artifacts.Models.RunNotebookSparkSessionOptions sessionOptions = default, bool? honorSessionTimeToLive = default, string sessionId = default, string sparkPool = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.Analytics.Synapse.Artifacts.Models.RunNotebookParameter> parameters = default, Azure.Analytics.Synapse.Artifacts.Models.NotebookResource notebookContent = default);
static member RunNotebookSnapshot : string * string * string * Azure.Analytics.Synapse.Artifacts.Models.RunNotebookSparkSessionOptions * Nullable<bool> * string * string * System.Collections.Generic.IReadOnlyDictionary<string, Azure.Analytics.Synapse.Artifacts.Models.RunNotebookParameter> * Azure.Analytics.Synapse.Artifacts.Models.NotebookResource -> Azure.Analytics.Synapse.Artifacts.Models.RunNotebookSnapshot
Public Shared Function RunNotebookSnapshot (Optional exitValue As String = Nothing, Optional id As String = Nothing, Optional notebook As String = Nothing, Optional sessionOptions As RunNotebookSparkSessionOptions = Nothing, Optional honorSessionTimeToLive As Nullable(Of Boolean) = Nothing, Optional sessionId As String = Nothing, Optional sparkPool As String = Nothing, Optional parameters As IReadOnlyDictionary(Of String, RunNotebookParameter) = Nothing, Optional notebookContent As NotebookResource = Nothing) As RunNotebookSnapshot

参数

exitValue
String

退出命令的输出。

id
String

运行笔记本 runId。

notebook
String

笔记本名称。

sessionOptions
RunNotebookSparkSessionOptions

会话属性。

honorSessionTimeToLive
Nullable<Boolean>

运行完成后,会话是否应一直运行到生存时间。

sessionId
String

Livy 会话 ID。

sparkPool
String

SparkPool 名称。

parameters
IReadOnlyDictionary<String,RunNotebookParameter>

运行笔记本参数。

notebookContent
NotebookResource

笔记本资源类型。

返回

用于模拟的新 RunNotebookSnapshot 实例。

适用于