Udostępnij za pośrednictwem


AnalyticsSynapseArtifactsModelFactory.RunNotebookSnapshot Method

Definition

Initializes a new instance of 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

Parameters

exitValue
String

Output of exit command.

id
String

Run notebook runId.

notebook
String

Notebook name.

sessionOptions
RunNotebookSparkSessionOptions

Session properties.

honorSessionTimeToLive
Nullable<Boolean>

Whether session should run till time to live after run completes.

sessionId
String

Livy session id.

sparkPool
String

SparkPool name.

parameters
IReadOnlyDictionary<String,RunNotebookParameter>

Run notebook parameters.

notebookContent
NotebookResource

Notebook resource type.

Returns

A new RunNotebookSnapshot instance for mocking.

Applies to