| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. See License.txt in the project root for license information. |
| | 3 | | // |
| | 4 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 5 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 6 | | // regenerated. |
| | 7 | |
|
| | 8 | | // |
| | 9 | | // This file was autogenerated by a tool. |
| | 10 | | // Do not modify it. |
| | 11 | | // |
| | 12 | |
|
| | 13 | | namespace Microsoft.Azure.Batch |
| | 14 | | { |
| | 15 | | using Models = Microsoft.Azure.Batch.Protocol.Models; |
| | 16 | | using System; |
| | 17 | | using System.Collections.Generic; |
| | 18 | | using System.Linq; |
| | 19 | |
|
| | 20 | | /// <summary> |
| | 21 | | /// Information about the node agent |
| | 22 | | /// </summary> |
| | 23 | | /// <remarks> |
| | 24 | | /// The Batch node agent is a program that runs on each node in the pool and provides Batch capability on the comput |
| | 25 | | /// node. |
| | 26 | | /// </remarks> |
| | 27 | | public partial class NodeAgentInformation : IPropertyMetadata |
| | 28 | | { |
| | 29 | | #region Constructors |
| | 30 | |
|
| 507 | 31 | | internal NodeAgentInformation(Models.NodeAgentInformation protocolObject) |
| | 32 | | { |
| 507 | 33 | | this.LastUpdateTime = protocolObject.LastUpdateTime; |
| 507 | 34 | | this.Version = protocolObject.Version; |
| 507 | 35 | | } |
| | 36 | |
|
| | 37 | | #endregion Constructors |
| | 38 | |
|
| | 39 | | #region NodeAgentInformation |
| | 40 | |
|
| | 41 | | /// <summary> |
| | 42 | | /// Gets the time when the node agent was updated on the compute node. |
| | 43 | | /// </summary> |
| | 44 | | /// <remarks> |
| | 45 | | /// This is the most recent time that the node agent was updated to a new version. |
| | 46 | | /// </remarks> |
| 507 | 47 | | public DateTime LastUpdateTime { get; } |
| | 48 | |
|
| | 49 | | /// <summary> |
| | 50 | | /// Gets the version of the Batch node agent running on the compute node. |
| | 51 | | /// </summary> |
| | 52 | | /// <remarks> |
| | 53 | | /// This version number can be checked against the node agent release notes located at https://github.com/Azure/ |
| | 54 | | /// </remarks> |
| 507 | 55 | | public string Version { get; } |
| | 56 | |
|
| | 57 | | #endregion // NodeAgentInformation |
| | 58 | |
|
| | 59 | | #region IPropertyMetadata |
| | 60 | |
|
| | 61 | | bool IModifiable.HasBeenModified |
| | 62 | | { |
| | 63 | | //This class is compile time readonly so it cannot have been modified |
| 0 | 64 | | get { return false; } |
| | 65 | | } |
| | 66 | |
|
| | 67 | | bool IReadOnly.IsReadOnly |
| | 68 | | { |
| 0 | 69 | | get { return true; } |
| | 70 | | set |
| | 71 | | { |
| | 72 | | // This class is compile time readonly already |
| 507 | 73 | | } |
| | 74 | | } |
| | 75 | |
|
| | 76 | | #endregion // IPropertyMetadata |
| | 77 | | } |
| | 78 | | } |