다음을 통해 공유


SparkModelFactory.SparkSessionState Method

Definition

Initializes a new instance of SparkSessionState.

public static Azure.Analytics.Synapse.Spark.Models.SparkSessionState SparkSessionState (DateTimeOffset? notStartedAt = default, DateTimeOffset? startingAt = default, DateTimeOffset? idleAt = default, DateTimeOffset? deadAt = default, DateTimeOffset? shuttingDownAt = default, DateTimeOffset? terminatedAt = default, DateTimeOffset? recoveringAt = default, DateTimeOffset? busyAt = default, DateTimeOffset? errorAt = default, string currentState = default, Azure.Analytics.Synapse.Spark.Models.SparkRequest jobCreationRequest = default);
static member SparkSessionState : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Azure.Analytics.Synapse.Spark.Models.SparkRequest -> Azure.Analytics.Synapse.Spark.Models.SparkSessionState
Public Shared Function SparkSessionState (Optional notStartedAt As Nullable(Of DateTimeOffset) = Nothing, Optional startingAt As Nullable(Of DateTimeOffset) = Nothing, Optional idleAt As Nullable(Of DateTimeOffset) = Nothing, Optional deadAt As Nullable(Of DateTimeOffset) = Nothing, Optional shuttingDownAt As Nullable(Of DateTimeOffset) = Nothing, Optional terminatedAt As Nullable(Of DateTimeOffset) = Nothing, Optional recoveringAt As Nullable(Of DateTimeOffset) = Nothing, Optional busyAt As Nullable(Of DateTimeOffset) = Nothing, Optional errorAt As Nullable(Of DateTimeOffset) = Nothing, Optional currentState As String = Nothing, Optional jobCreationRequest As SparkRequest = Nothing) As SparkSessionState

Parameters

notStartedAt
Nullable<DateTimeOffset>
startingAt
Nullable<DateTimeOffset>
shuttingDownAt
Nullable<DateTimeOffset>
terminatedAt
Nullable<DateTimeOffset>
recoveringAt
Nullable<DateTimeOffset>
currentState
String
jobCreationRequest
SparkRequest

Returns

A new SparkSessionState instance for mocking.

Applies to