| | 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 | | /// The compute node information class. |
| | 22 | | /// </summary> |
| | 23 | | public partial class ComputeNodeInformation : IPropertyMetadata |
| | 24 | | { |
| | 25 | | #region Constructors |
| | 26 | |
|
| 486 | 27 | | internal ComputeNodeInformation(Models.ComputeNodeInformation protocolObject) |
| | 28 | | { |
| 486 | 29 | | this.AffinityId = protocolObject.AffinityId; |
| 486 | 30 | | this.ComputeNodeId = protocolObject.NodeId; |
| 486 | 31 | | this.ComputeNodeUrl = protocolObject.NodeUrl; |
| 486 | 32 | | this.PoolId = protocolObject.PoolId; |
| 486 | 33 | | this.TaskRootDirectory = protocolObject.TaskRootDirectory; |
| 486 | 34 | | this.TaskRootDirectoryUrl = protocolObject.TaskRootDirectoryUrl; |
| 486 | 35 | | } |
| | 36 | |
|
| | 37 | | #endregion Constructors |
| | 38 | |
|
| | 39 | | #region ComputeNodeInformation |
| | 40 | |
|
| | 41 | | /// <summary> |
| | 42 | | /// Gets an opaque string that contains information about the location of the compute node. |
| | 43 | | /// </summary> |
| 486 | 44 | | public string AffinityId { get; } |
| | 45 | |
|
| | 46 | | /// <summary> |
| | 47 | | /// Gets the compute node id. |
| | 48 | | /// </summary> |
| 486 | 49 | | public string ComputeNodeId { get; } |
| | 50 | |
|
| | 51 | | /// <summary> |
| | 52 | | /// Gets the URL of the compute node. |
| | 53 | | /// </summary> |
| 486 | 54 | | public string ComputeNodeUrl { get; } |
| | 55 | |
|
| | 56 | | /// <summary> |
| | 57 | | /// Gets the pool id. |
| | 58 | | /// </summary> |
| 486 | 59 | | public string PoolId { get; } |
| | 60 | |
|
| | 61 | | /// <summary> |
| | 62 | | /// Gets the root directory of the current task on the compute node. You can use this path to retrieve files cre |
| | 63 | | /// by the task such as log files. |
| | 64 | | /// </summary> |
| 486 | 65 | | public string TaskRootDirectory { get; } |
| | 66 | |
|
| | 67 | | /// <summary> |
| | 68 | | /// Gets the URL to the root directory of the current task on the compute node. |
| | 69 | | /// </summary> |
| 486 | 70 | | public string TaskRootDirectoryUrl { get; } |
| | 71 | |
|
| | 72 | | #endregion // ComputeNodeInformation |
| | 73 | |
|
| | 74 | | #region IPropertyMetadata |
| | 75 | |
|
| | 76 | | bool IModifiable.HasBeenModified |
| | 77 | | { |
| | 78 | | //This class is compile time readonly so it cannot have been modified |
| 0 | 79 | | get { return false; } |
| | 80 | | } |
| | 81 | |
|
| | 82 | | bool IReadOnly.IsReadOnly |
| | 83 | | { |
| 0 | 84 | | get { return true; } |
| | 85 | | set |
| | 86 | | { |
| | 87 | | // This class is compile time readonly already |
| 486 | 88 | | } |
| | 89 | | } |
| | 90 | |
|
| | 91 | | #endregion // IPropertyMetadata |
| | 92 | | } |
| | 93 | | } |