SDK reference / Models / Sandboxes
SandboxSessionInfo
Kind: class
Namespace: Egulu.Sdk.Models.Sandboxes
One console-gateway session of a sandbox (W106; ADR-0718): who opened it, when, and how it ended. The ticket and its digest are never listed.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Connected | bool? | connected | Whether the owner's ticket was redeemed at the gateway (the session was connected to). |
EndReason | string? | endReason | `closed`, `expired`, `hour-cap`, `sandbox-ended` or `killed`; absent while it is open. |
EndTime | DateTimeOffset? | endTime | When the session ended; absent while it is open. |
ExpireTime | DateTimeOffset? | expireTime | When the session ends at the latest. |
GrantedSeconds | long? | grantedSeconds | Seconds of the organisation's monthly session hours the session holds. |
OpenTime | DateTimeOffset? | openTime | When the session was opened. |
Owner | string? | owner | Principal that opened the session (for example `users/{id}`). |
Port | int? | port | The declared port a `port` session reaches (absent for `ide` and `console`). |
SessionId | string? | sessionId | The session (`sbs_…`). |
State | string? | state | `open` until it ends, then `ended`. |
Surface | string? | surface | `ide`, `console` or `port`. |
UsedSeconds | long? | usedSeconds | Seconds the session ran; absent while it is open. |
WebApp | string? | webApp | The web app whose deploy workspace was copied in and is saved back, when the session names one. |