| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | |
|
| | 10 | | namespace Azure.Analytics.Synapse.Artifacts.Models |
| | 11 | | { |
| | 12 | | /// <summary> The SparkBatchJobState. </summary> |
| | 13 | | public partial class SparkBatchJobState |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of SparkBatchJobState. </summary> |
| 0 | 16 | | internal SparkBatchJobState() |
| | 17 | | { |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of SparkBatchJobState. </summary> |
| | 21 | | /// <param name="notStartedAt"> the time that at which "not_started" livy state was first seen. </para |
| | 22 | | /// <param name="startingAt"> the time that at which "starting" livy state was first seen. </param> |
| | 23 | | /// <param name="runningAt"> the time that at which "running" livy state was first seen. </param> |
| | 24 | | /// <param name="deadAt"> time that at which "dead" livy state was first seen. </param> |
| | 25 | | /// <param name="successAt"> the time that at which "success" livy state was first seen. </param> |
| | 26 | | /// <param name="terminatedAt"> the time that at which "killed" livy state was first seen. </param> |
| | 27 | | /// <param name="recoveringAt"> the time that at which "recovering" livy state was first seen. </param |
| | 28 | | /// <param name="currentState"> the Spark job state. </param> |
| | 29 | | /// <param name="jobCreationRequest"> . </param> |
| 0 | 30 | | internal SparkBatchJobState(DateTimeOffset? notStartedAt, DateTimeOffset? startingAt, DateTimeOffset? runningAt, |
| | 31 | | { |
| 0 | 32 | | NotStartedAt = notStartedAt; |
| 0 | 33 | | StartingAt = startingAt; |
| 0 | 34 | | RunningAt = runningAt; |
| 0 | 35 | | DeadAt = deadAt; |
| 0 | 36 | | SuccessAt = successAt; |
| 0 | 37 | | TerminatedAt = terminatedAt; |
| 0 | 38 | | RecoveringAt = recoveringAt; |
| 0 | 39 | | CurrentState = currentState; |
| 0 | 40 | | JobCreationRequest = jobCreationRequest; |
| 0 | 41 | | } |
| | 42 | |
|
| | 43 | | /// <summary> the time that at which "not_started" livy state was first seen. </summary> |
| 0 | 44 | | public DateTimeOffset? NotStartedAt { get; } |
| | 45 | | /// <summary> the time that at which "starting" livy state was first seen. </summary> |
| 0 | 46 | | public DateTimeOffset? StartingAt { get; } |
| | 47 | | /// <summary> the time that at which "running" livy state was first seen. </summary> |
| 0 | 48 | | public DateTimeOffset? RunningAt { get; } |
| | 49 | | /// <summary> time that at which "dead" livy state was first seen. </summary> |
| 0 | 50 | | public DateTimeOffset? DeadAt { get; } |
| | 51 | | /// <summary> the time that at which "success" livy state was first seen. </summary> |
| 0 | 52 | | public DateTimeOffset? SuccessAt { get; } |
| | 53 | | /// <summary> the time that at which "killed" livy state was first seen. </summary> |
| 0 | 54 | | public DateTimeOffset? TerminatedAt { get; } |
| | 55 | | /// <summary> the time that at which "recovering" livy state was first seen. </summary> |
| 0 | 56 | | public DateTimeOffset? RecoveringAt { get; } |
| | 57 | | /// <summary> the Spark job state. </summary> |
| 0 | 58 | | public string CurrentState { get; } |
| 0 | 59 | | public SparkRequest JobCreationRequest { get; } |
| | 60 | | } |
| | 61 | | } |