SparkModelFactory.SparkBatchJobState Method

Definition

Initializes a new instance of SparkBatchJobState.

public static Azure.Analytics.Synapse.Spark.Models.SparkBatchJobState SparkBatchJobState (DateTimeOffset? notStartedAt = default, DateTimeOffset? startingAt = default, DateTimeOffset? runningAt = default, DateTimeOffset? deadAt = default, DateTimeOffset? successAt = default, DateTimeOffset? terminatedAt = default, DateTimeOffset? recoveringAt = default, string currentState = default, Azure.Analytics.Synapse.Spark.Models.SparkRequest jobCreationRequest = default);
static member SparkBatchJobState : 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.SparkBatchJobState
Public Shared Function SparkBatchJobState (Optional notStartedAt As Nullable(Of DateTimeOffset) = Nothing, Optional startingAt As Nullable(Of DateTimeOffset) = Nothing, Optional runningAt As Nullable(Of DateTimeOffset) = Nothing, Optional deadAt As Nullable(Of DateTimeOffset) = Nothing, Optional successAt As Nullable(Of DateTimeOffset) = Nothing, Optional terminatedAt As Nullable(Of DateTimeOffset) = Nothing, Optional recoveringAt As Nullable(Of DateTimeOffset) = Nothing, Optional currentState As String = Nothing, Optional jobCreationRequest As SparkRequest = Nothing) As SparkBatchJobState

Parameters

notStartedAt
Nullable<DateTimeOffset>

the time that at which "not_started" livy state was first seen.

startingAt
Nullable<DateTimeOffset>

the time that at which "starting" livy state was first seen.

runningAt
Nullable<DateTimeOffset>

the time that at which "running" livy state was first seen.

deadAt
Nullable<DateTimeOffset>

time that at which "dead" livy state was first seen.

successAt
Nullable<DateTimeOffset>

the time that at which "success" livy state was first seen.

terminatedAt
Nullable<DateTimeOffset>

the time that at which "killed" livy state was first seen.

recoveringAt
Nullable<DateTimeOffset>

the time that at which "recovering" livy state was first seen.

currentState
String

the Spark job state.

jobCreationRequest
SparkRequest

Returns

A new SparkBatchJobState instance for mocking.

Applies to