| | | 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 | | /// Gets the settings required for remote login to a compute node. |
| | | 22 | | /// </summary> |
| | | 23 | | public partial class RemoteLoginSettings : IPropertyMetadata |
| | | 24 | | { |
| | | 25 | | #region Constructors |
| | | 26 | | |
| | 1 | 27 | | internal RemoteLoginSettings(Models.ComputeNodeGetRemoteLoginSettingsResult protocolObject) |
| | | 28 | | { |
| | 1 | 29 | | this.IPAddress = protocolObject.RemoteLoginIPAddress; |
| | 1 | 30 | | this.Port = protocolObject.RemoteLoginPort; |
| | 1 | 31 | | } |
| | | 32 | | |
| | | 33 | | #endregion Constructors |
| | | 34 | | |
| | | 35 | | #region RemoteLoginSettings |
| | | 36 | | |
| | | 37 | | /// <summary> |
| | | 38 | | /// Gets the IP address used for remote login to the compute node. |
| | | 39 | | /// </summary> |
| | 1 | 40 | | public string IPAddress { get; } |
| | | 41 | | |
| | | 42 | | /// <summary> |
| | | 43 | | /// Gets the port used for remote login to the compute node. |
| | | 44 | | /// </summary> |
| | 1 | 45 | | public int Port { get; } |
| | | 46 | | |
| | | 47 | | #endregion // RemoteLoginSettings |
| | | 48 | | |
| | | 49 | | #region IPropertyMetadata |
| | | 50 | | |
| | | 51 | | bool IModifiable.HasBeenModified |
| | | 52 | | { |
| | | 53 | | //This class is compile time readonly so it cannot have been modified |
| | 0 | 54 | | get { return false; } |
| | | 55 | | } |
| | | 56 | | |
| | | 57 | | bool IReadOnly.IsReadOnly |
| | | 58 | | { |
| | 0 | 59 | | get { return true; } |
| | | 60 | | set |
| | | 61 | | { |
| | | 62 | | // This class is compile time readonly already |
| | 1 | 63 | | } |
| | | 64 | | } |
| | | 65 | | |
| | | 66 | | #endregion // IPropertyMetadata |
| | | 67 | | } |
| | | 68 | | } |