| | 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 on which a Task ran. |
| | 18 | | /// </summary> |
| | 19 | | public partial class ComputeNodeInformation |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the ComputeNodeInformation class. |
| | 23 | | /// </summary> |
| 486 | 24 | | public ComputeNodeInformation() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 486 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Initializes a new instance of the ComputeNodeInformation class. |
| | 31 | | /// </summary> |
| | 32 | | /// <param name="affinityId">An identifier for the Node on which the |
| | 33 | | /// Task ran, which can be passed when adding a Task to request that |
| | 34 | | /// the Task be scheduled on this Compute Node.</param> |
| | 35 | | /// <param name="nodeUrl">The URL of the Compute Node on which the Task |
| | 36 | | /// ran. </param> |
| | 37 | | /// <param name="poolId">The ID of the Pool on which the Task |
| | 38 | | /// ran.</param> |
| | 39 | | /// <param name="nodeId">The ID of the Compute Node on which the Task |
| | 40 | | /// ran.</param> |
| | 41 | | /// <param name="taskRootDirectory">The root directory of the Task on |
| | 42 | | /// the Compute Node.</param> |
| | 43 | | /// <param name="taskRootDirectoryUrl">The URL to the root directory of |
| | 44 | | /// the Task on the Compute Node.</param> |
| 0 | 45 | | public ComputeNodeInformation(string affinityId = default(string), string nodeUrl = default(string), string pool |
| | 46 | | { |
| 0 | 47 | | AffinityId = affinityId; |
| 0 | 48 | | NodeUrl = nodeUrl; |
| 0 | 49 | | PoolId = poolId; |
| 0 | 50 | | NodeId = nodeId; |
| 0 | 51 | | TaskRootDirectory = taskRootDirectory; |
| 0 | 52 | | TaskRootDirectoryUrl = taskRootDirectoryUrl; |
| | 53 | | CustomInit(); |
| 0 | 54 | | } |
| | 55 | |
|
| | 56 | | /// <summary> |
| | 57 | | /// An initialization method that performs custom operations like setting defaults |
| | 58 | | /// </summary> |
| | 59 | | partial void CustomInit(); |
| | 60 | |
|
| | 61 | | /// <summary> |
| | 62 | | /// Gets or sets an identifier for the Node on which the Task ran, |
| | 63 | | /// which can be passed when adding a Task to request that the Task be |
| | 64 | | /// scheduled on this Compute Node. |
| | 65 | | /// </summary> |
| | 66 | | [JsonProperty(PropertyName = "affinityId")] |
| 1230 | 67 | | public string AffinityId { get; set; } |
| | 68 | |
|
| | 69 | | /// <summary> |
| | 70 | | /// Gets or sets the URL of the Compute Node on which the Task ran. |
| | 71 | | /// </summary> |
| | 72 | | [JsonProperty(PropertyName = "nodeUrl")] |
| 1222 | 73 | | public string NodeUrl { get; set; } |
| | 74 | |
|
| | 75 | | /// <summary> |
| | 76 | | /// Gets or sets the ID of the Pool on which the Task ran. |
| | 77 | | /// </summary> |
| | 78 | | [JsonProperty(PropertyName = "poolId")] |
| 1235 | 79 | | public string PoolId { get; set; } |
| | 80 | |
|
| | 81 | | /// <summary> |
| | 82 | | /// Gets or sets the ID of the Compute Node on which the Task ran. |
| | 83 | | /// </summary> |
| | 84 | | [JsonProperty(PropertyName = "nodeId")] |
| 1211 | 85 | | public string NodeId { get; set; } |
| | 86 | |
|
| | 87 | | /// <summary> |
| | 88 | | /// Gets or sets the root directory of the Task on the Compute Node. |
| | 89 | | /// </summary> |
| | 90 | | [JsonProperty(PropertyName = "taskRootDirectory")] |
| 1226 | 91 | | public string TaskRootDirectory { get; set; } |
| | 92 | |
|
| | 93 | | /// <summary> |
| | 94 | | /// Gets or sets the URL to the root directory of the Task on the |
| | 95 | | /// Compute Node. |
| | 96 | | /// </summary> |
| | 97 | | [JsonProperty(PropertyName = "taskRootDirectoryUrl")] |
| 1225 | 98 | | public string TaskRootDirectoryUrl { get; set; } |
| | 99 | |
|
| | 100 | | } |
| | 101 | | } |