BastionActiveSessionOutput interface
The session detail for a target.
Properties
| protocol | The protocol used to connect to the target. |
| resource |
The type of the resource. |
| session |
Duration in mins the session has been active. |
| session |
A unique id for the session. |
| start |
The time when the session started. |
| target |
The host name of the target. |
| target |
The IP Address of the target. |
| target |
The resource group of the target. |
| target |
The resource id of the target. |
| target |
The subscription id for the target virtual machine. |
| user |
The user name who is active on this session. |
Property Details
protocol
The protocol used to connect to the target.
protocol?: "SSH" | "RDP"
Property Value
"SSH" | "RDP"
resourceType
The type of the resource.
resourceType?: string
Property Value
string
sessionDurationInMins
Duration in mins the session has been active.
sessionDurationInMins?: number
Property Value
number
sessionId
A unique id for the session.
sessionId?: string
Property Value
string
startTime
The time when the session started.
startTime?: Record<string, unknown>
Property Value
Record<string, unknown>
targetHostName
The host name of the target.
targetHostName?: string
Property Value
string
targetIpAddress
The IP Address of the target.
targetIpAddress?: string
Property Value
string
targetResourceGroup
The resource group of the target.
targetResourceGroup?: string
Property Value
string
targetResourceId
The resource id of the target.
targetResourceId?: string
Property Value
string
targetSubscriptionId
The subscription id for the target virtual machine.
targetSubscriptionId?: string
Property Value
string
userName
The user name who is active on this session.
userName?: string
Property Value
string