| | 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 status of the Job Preparation task and Job Release task on a compute node. |
| | 22 | | /// </summary> |
| | 23 | | public partial class JobPreparationAndReleaseTaskExecutionInformation : IPropertyMetadata |
| | 24 | | { |
| | 25 | | #region Constructors |
| | 26 | |
|
| 1001 | 27 | | internal JobPreparationAndReleaseTaskExecutionInformation(Models.JobPreparationAndReleaseTaskExecutionInformatio |
| | 28 | | { |
| 1001 | 29 | | this.ComputeNodeId = protocolObject.NodeId; |
| 1001 | 30 | | this.ComputeNodeUrl = protocolObject.NodeUrl; |
| 1491 | 31 | | this.JobPreparationTaskExecutionInformation = UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.Job |
| 1501 | 32 | | this.JobReleaseTaskExecutionInformation = UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.JobRele |
| 1001 | 33 | | this.PoolId = protocolObject.PoolId; |
| 1001 | 34 | | } |
| | 35 | |
|
| | 36 | | #endregion Constructors |
| | 37 | |
|
| | 38 | | #region JobPreparationAndReleaseTaskExecutionInformation |
| | 39 | |
|
| | 40 | | /// <summary> |
| | 41 | | /// Gets the id of the compute node. |
| | 42 | | /// </summary> |
| 1001 | 43 | | public string ComputeNodeId { get; } |
| | 44 | |
|
| | 45 | | /// <summary> |
| | 46 | | /// Gets the URL of the compute node. |
| | 47 | | /// </summary> |
| 1001 | 48 | | public string ComputeNodeUrl { get; } |
| | 49 | |
|
| | 50 | | /// <summary> |
| | 51 | | /// Gets details of the <see cref="CloudJob.JobPreparationTask">Job Preparation task</see> on this compute node. |
| | 52 | | /// </summary> |
| 1001 | 53 | | public JobPreparationTaskExecutionInformation JobPreparationTaskExecutionInformation { get; } |
| | 54 | |
|
| | 55 | | /// <summary> |
| | 56 | | /// Gets details of the <see cref="CloudJob.JobReleaseTask">Job Release task</see> on this compute node. |
| | 57 | | /// </summary> |
| 1001 | 58 | | public JobReleaseTaskExecutionInformation JobReleaseTaskExecutionInformation { get; } |
| | 59 | |
|
| | 60 | | /// <summary> |
| | 61 | | /// Gets the id of the pool containing the compute node. |
| | 62 | | /// </summary> |
| 1001 | 63 | | public string PoolId { get; } |
| | 64 | |
|
| | 65 | | #endregion // JobPreparationAndReleaseTaskExecutionInformation |
| | 66 | |
|
| | 67 | | #region IPropertyMetadata |
| | 68 | |
|
| | 69 | | bool IModifiable.HasBeenModified |
| | 70 | | { |
| | 71 | | //This class is compile time readonly so it cannot have been modified |
| 0 | 72 | | get { return false; } |
| | 73 | | } |
| | 74 | |
|
| | 75 | | bool IReadOnly.IsReadOnly |
| | 76 | | { |
| 0 | 77 | | get { return true; } |
| | 78 | | set |
| | 79 | | { |
| | 80 | | // This class is compile time readonly already |
| 1 | 81 | | } |
| | 82 | | } |
| | 83 | |
|
| | 84 | | #endregion // IPropertyMetadata |
| | 85 | | } |
| | 86 | | } |