| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.Batch.Protocol.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// The status of the Job Preparation and Job Release Tasks on a Compute |
| | 18 | | /// Node. |
| | 19 | | /// </summary> |
| | 20 | | public partial class JobPreparationAndReleaseTaskExecutionInformation |
| | 21 | | { |
| | 22 | | /// <summary> |
| | 23 | | /// Initializes a new instance of the |
| | 24 | | /// JobPreparationAndReleaseTaskExecutionInformation class. |
| | 25 | | /// </summary> |
| 1001 | 26 | | public JobPreparationAndReleaseTaskExecutionInformation() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 1001 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the |
| | 33 | | /// JobPreparationAndReleaseTaskExecutionInformation class. |
| | 34 | | /// </summary> |
| | 35 | | /// <param name="poolId">The ID of the Pool containing the Compute Node |
| | 36 | | /// to which this entry refers.</param> |
| | 37 | | /// <param name="nodeId">The ID of the Compute Node to which this entry |
| | 38 | | /// refers.</param> |
| | 39 | | /// <param name="nodeUrl">The URL of the Compute Node to which this |
| | 40 | | /// entry refers.</param> |
| | 41 | | /// <param name="jobPreparationTaskExecutionInfo">Information about the |
| | 42 | | /// execution status of the Job Preparation Task on this Compute |
| | 43 | | /// Node.</param> |
| | 44 | | /// <param name="jobReleaseTaskExecutionInfo">Information about the |
| | 45 | | /// execution status of the Job Release Task on this Compute |
| | 46 | | /// Node.</param> |
| 0 | 47 | | public JobPreparationAndReleaseTaskExecutionInformation(string poolId = default(string), string nodeId = default |
| | 48 | | { |
| 0 | 49 | | PoolId = poolId; |
| 0 | 50 | | NodeId = nodeId; |
| 0 | 51 | | NodeUrl = nodeUrl; |
| 0 | 52 | | JobPreparationTaskExecutionInfo = jobPreparationTaskExecutionInfo; |
| 0 | 53 | | JobReleaseTaskExecutionInfo = jobReleaseTaskExecutionInfo; |
| | 54 | | CustomInit(); |
| 0 | 55 | | } |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// An initialization method that performs custom operations like setting defaults |
| | 59 | | /// </summary> |
| | 60 | | partial void CustomInit(); |
| | 61 | |
|
| | 62 | | /// <summary> |
| | 63 | | /// Gets or sets the ID of the Pool containing the Compute Node to |
| | 64 | | /// which this entry refers. |
| | 65 | | /// </summary> |
| | 66 | | [JsonProperty(PropertyName = "poolId")] |
| 2489 | 67 | | public string PoolId { get; set; } |
| | 68 | |
|
| | 69 | | /// <summary> |
| | 70 | | /// Gets or sets the ID of the Compute Node to which this entry refers. |
| | 71 | | /// </summary> |
| | 72 | | [JsonProperty(PropertyName = "nodeId")] |
| 2520 | 73 | | public string NodeId { get; set; } |
| | 74 | |
|
| | 75 | | /// <summary> |
| | 76 | | /// Gets or sets the URL of the Compute Node to which this entry |
| | 77 | | /// refers. |
| | 78 | | /// </summary> |
| | 79 | | [JsonProperty(PropertyName = "nodeUrl")] |
| 2489 | 80 | | public string NodeUrl { get; set; } |
| | 81 | |
|
| | 82 | | /// <summary> |
| | 83 | | /// Gets or sets information about the execution status of the Job |
| | 84 | | /// Preparation Task on this Compute Node. |
| | 85 | | /// </summary> |
| | 86 | | [JsonProperty(PropertyName = "jobPreparationTaskExecutionInfo")] |
| 2491 | 87 | | public JobPreparationTaskExecutionInformation JobPreparationTaskExecutionInfo { get; set; } |
| | 88 | |
|
| | 89 | | /// <summary> |
| | 90 | | /// Gets or sets information about the execution status of the Job |
| | 91 | | /// Release Task on this Compute Node. |
| | 92 | | /// </summary> |
| | 93 | | /// <remarks> |
| | 94 | | /// This property is set only if the Job Release Task has run on the |
| | 95 | | /// Compute Node. |
| | 96 | | /// </remarks> |
| | 97 | | [JsonProperty(PropertyName = "jobReleaseTaskExecutionInfo")] |
| 2501 | 98 | | public JobReleaseTaskExecutionInformation JobReleaseTaskExecutionInfo { get; set; } |
| | 99 | |
|
| | 100 | | } |
| | 101 | | } |