SparkModelFactory.SparkSessionState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>
- idleAt
- Nullable<DateTimeOffset>
- deadAt
- Nullable<DateTimeOffset>
- shuttingDownAt
- Nullable<DateTimeOffset>
- terminatedAt
- Nullable<DateTimeOffset>
- recoveringAt
- Nullable<DateTimeOffset>
- busyAt
- Nullable<DateTimeOffset>
- errorAt
- Nullable<DateTimeOffset>
- currentState
- String
- jobCreationRequest
- SparkRequest
Returns
A new SparkSessionState instance for mocking.