| | 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 | | using System.Collections; |
| | 10 | | using System.Collections.Generic; |
| | 11 | | using Azure.Core; |
| | 12 | |
|
| | 13 | | namespace Azure.Analytics.Synapse.Artifacts.Models |
| | 14 | | { |
| | 15 | | /// <summary> Information about a pipeline run. </summary> |
| | 16 | | public partial class PipelineRun : IReadOnlyDictionary<string, object> |
| | 17 | | { |
| | 18 | | /// <summary> Initializes a new instance of PipelineRun. </summary> |
| 0 | 19 | | internal PipelineRun() |
| | 20 | | { |
| 0 | 21 | | Parameters = new ChangeTrackingDictionary<string, string>(); |
| 0 | 22 | | AdditionalProperties = new ChangeTrackingDictionary<string, object>(); |
| 0 | 23 | | } |
| | 24 | |
|
| | 25 | | /// <summary> Initializes a new instance of PipelineRun. </summary> |
| | 26 | | /// <param name="runId"> Identifier of a run. </param> |
| | 27 | | /// <param name="runGroupId"> Identifier that correlates all the recovery runs of a pipeline run. </param> |
| | 28 | | /// <param name="isLatest"> Indicates if the recovered pipeline run is the latest in its group. </param> |
| | 29 | | /// <param name="pipelineName"> The pipeline name. </param> |
| | 30 | | /// <param name="parameters"> The full or partial list of parameter name, value pair used in the pipeline run. < |
| | 31 | | /// <param name="invokedBy"> Entity that started the pipeline run. </param> |
| | 32 | | /// <param name="lastUpdated"> The last updated timestamp for the pipeline run event in ISO8601 format. </param> |
| | 33 | | /// <param name="runStart"> The start time of a pipeline run in ISO8601 format. </param> |
| | 34 | | /// <param name="runEnd"> The end time of a pipeline run in ISO8601 format. </param> |
| | 35 | | /// <param name="durationInMs"> The duration of a pipeline run. </param> |
| | 36 | | /// <param name="status"> The status of a pipeline run. </param> |
| | 37 | | /// <param name="message"> The message from a pipeline run. </param> |
| | 38 | | /// <param name="additionalProperties"> . </param> |
| 0 | 39 | | internal PipelineRun(string runId, string runGroupId, bool? isLatest, string pipelineName, IReadOnlyDictionary<s |
| | 40 | | { |
| 0 | 41 | | RunId = runId; |
| 0 | 42 | | RunGroupId = runGroupId; |
| 0 | 43 | | IsLatest = isLatest; |
| 0 | 44 | | PipelineName = pipelineName; |
| 0 | 45 | | Parameters = parameters; |
| 0 | 46 | | InvokedBy = invokedBy; |
| 0 | 47 | | LastUpdated = lastUpdated; |
| 0 | 48 | | RunStart = runStart; |
| 0 | 49 | | RunEnd = runEnd; |
| 0 | 50 | | DurationInMs = durationInMs; |
| 0 | 51 | | Status = status; |
| 0 | 52 | | Message = message; |
| 0 | 53 | | AdditionalProperties = additionalProperties; |
| 0 | 54 | | } |
| | 55 | |
|
| | 56 | | /// <summary> Identifier of a run. </summary> |
| 0 | 57 | | public string RunId { get; } |
| | 58 | | /// <summary> Identifier that correlates all the recovery runs of a pipeline run. </summary> |
| 0 | 59 | | public string RunGroupId { get; } |
| | 60 | | /// <summary> Indicates if the recovered pipeline run is the latest in its group. </summary> |
| 0 | 61 | | public bool? IsLatest { get; } |
| | 62 | | /// <summary> The pipeline name. </summary> |
| 0 | 63 | | public string PipelineName { get; } |
| | 64 | | /// <summary> The full or partial list of parameter name, value pair used in the pipeline run. </summary> |
| 0 | 65 | | public IReadOnlyDictionary<string, string> Parameters { get; } |
| | 66 | | /// <summary> Entity that started the pipeline run. </summary> |
| 0 | 67 | | public PipelineRunInvokedBy InvokedBy { get; } |
| | 68 | | /// <summary> The last updated timestamp for the pipeline run event in ISO8601 format. </summary> |
| 0 | 69 | | public DateTimeOffset? LastUpdated { get; } |
| | 70 | | /// <summary> The start time of a pipeline run in ISO8601 format. </summary> |
| 0 | 71 | | public DateTimeOffset? RunStart { get; } |
| | 72 | | /// <summary> The end time of a pipeline run in ISO8601 format. </summary> |
| 0 | 73 | | public DateTimeOffset? RunEnd { get; } |
| | 74 | | /// <summary> The duration of a pipeline run. </summary> |
| 0 | 75 | | public int? DurationInMs { get; } |
| | 76 | | /// <summary> The status of a pipeline run. </summary> |
| 0 | 77 | | public string Status { get; } |
| | 78 | | /// <summary> The message from a pipeline run. </summary> |
| 0 | 79 | | public string Message { get; } |
| 0 | 80 | | internal IReadOnlyDictionary<string, object> AdditionalProperties { get; } |
| | 81 | | /// <inheritdoc /> |
| 0 | 82 | | public IEnumerator<KeyValuePair<string, object>> GetEnumerator() => AdditionalProperties.GetEnumerator(); |
| | 83 | | /// <inheritdoc /> |
| 0 | 84 | | IEnumerator IEnumerable.GetEnumerator() => AdditionalProperties.GetEnumerator(); |
| | 85 | | /// <inheritdoc /> |
| 0 | 86 | | public bool TryGetValue(string key, out object value) => AdditionalProperties.TryGetValue(key, out value); |
| | 87 | | /// <inheritdoc /> |
| 0 | 88 | | public bool ContainsKey(string key) => AdditionalProperties.ContainsKey(key); |
| | 89 | | /// <inheritdoc /> |
| 0 | 90 | | public IEnumerable<string> Keys => AdditionalProperties.Keys; |
| | 91 | | /// <inheritdoc /> |
| 0 | 92 | | public IEnumerable<object> Values => AdditionalProperties.Values; |
| | 93 | | /// <inheritdoc /> |
| 0 | 94 | | int IReadOnlyCollection<KeyValuePair<string, object>>.Count => AdditionalProperties.Count; |
| | 95 | | /// <inheritdoc /> |
| | 96 | | public object this[string key] |
| | 97 | | { |
| 0 | 98 | | get => AdditionalProperties[key]; |
| | 99 | | } |
| | 100 | | } |
| | 101 | | } |