| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | // <auto-generated/> |
| | | 5 | | |
| | | 6 | | #nullable disable |
| | | 7 | | |
| | | 8 | | namespace Azure.ResourceManager.Network.Models |
| | | 9 | | { |
| | | 10 | | /// <summary> The session state detail for a target. </summary> |
| | | 11 | | public partial class BastionSessionState |
| | | 12 | | { |
| | | 13 | | /// <summary> Initializes a new instance of BastionSessionState. </summary> |
| | 0 | 14 | | internal BastionSessionState() |
| | | 15 | | { |
| | 0 | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary> Initializes a new instance of BastionSessionState. </summary> |
| | | 19 | | /// <param name="sessionId"> A unique id for the session. </param> |
| | | 20 | | /// <param name="message"> Used for extra information. </param> |
| | | 21 | | /// <param name="state"> The state of the session. Disconnected/Failed/NotFound. </param> |
| | 0 | 22 | | internal BastionSessionState(string sessionId, string message, string state) |
| | | 23 | | { |
| | 0 | 24 | | SessionId = sessionId; |
| | 0 | 25 | | Message = message; |
| | 0 | 26 | | State = state; |
| | 0 | 27 | | } |
| | | 28 | | |
| | | 29 | | /// <summary> A unique id for the session. </summary> |
| | 0 | 30 | | public string SessionId { get; } |
| | | 31 | | /// <summary> Used for extra information. </summary> |
| | 0 | 32 | | public string Message { get; } |
| | | 33 | | /// <summary> The state of the session. Disconnected/Failed/NotFound. </summary> |
| | 0 | 34 | | public string State { get; } |
| | | 35 | | } |
| | | 36 | | } |