| | 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 | | /// Information about the Compute Node agent. |
| | 18 | | /// </summary> |
| | 19 | | /// <remarks> |
| | 20 | | /// The Batch Compute Node agent is a program that runs on each Compute |
| | 21 | | /// Node in the Pool and provides Batch capability on the Compute Node. |
| | 22 | | /// </remarks> |
| | 23 | | public partial class NodeAgentInformation |
| | 24 | | { |
| | 25 | | /// <summary> |
| | 26 | | /// Initializes a new instance of the NodeAgentInformation class. |
| | 27 | | /// </summary> |
| 507 | 28 | | public NodeAgentInformation() |
| | 29 | | { |
| | 30 | | CustomInit(); |
| 507 | 31 | | } |
| | 32 | |
|
| | 33 | | /// <summary> |
| | 34 | | /// Initializes a new instance of the NodeAgentInformation class. |
| | 35 | | /// </summary> |
| | 36 | | /// <param name="version">The version of the Batch Compute Node agent |
| | 37 | | /// running on the Compute Node.</param> |
| | 38 | | /// <param name="lastUpdateTime">The time when the Compute Node agent |
| | 39 | | /// was updated on the Compute Node.</param> |
| 0 | 40 | | public NodeAgentInformation(string version, System.DateTime lastUpdateTime) |
| | 41 | | { |
| 0 | 42 | | Version = version; |
| 0 | 43 | | LastUpdateTime = lastUpdateTime; |
| | 44 | | CustomInit(); |
| 0 | 45 | | } |
| | 46 | |
|
| | 47 | | /// <summary> |
| | 48 | | /// An initialization method that performs custom operations like setting defaults |
| | 49 | | /// </summary> |
| | 50 | | partial void CustomInit(); |
| | 51 | |
|
| | 52 | | /// <summary> |
| | 53 | | /// Gets or sets the version of the Batch Compute Node agent running on |
| | 54 | | /// the Compute Node. |
| | 55 | | /// </summary> |
| | 56 | | /// <remarks> |
| | 57 | | /// This version number can be checked against the Compute Node agent |
| | 58 | | /// release notes located at |
| | 59 | | /// https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md. |
| | 60 | | /// </remarks> |
| | 61 | | [JsonProperty(PropertyName = "version")] |
| 1270 | 62 | | public string Version { get; set; } |
| | 63 | |
|
| | 64 | | /// <summary> |
| | 65 | | /// Gets or sets the time when the Compute Node agent was updated on |
| | 66 | | /// the Compute Node. |
| | 67 | | /// </summary> |
| | 68 | | /// <remarks> |
| | 69 | | /// This is the most recent time that the Compute Node agent was |
| | 70 | | /// updated to a new version. |
| | 71 | | /// </remarks> |
| | 72 | | [JsonProperty(PropertyName = "lastUpdateTime")] |
| 1273 | 73 | | public System.DateTime LastUpdateTime { get; set; } |
| | 74 | |
|
| | 75 | | } |
| | 76 | | } |