BastionActiveSession interface
The session detail for a target.
Properties
protocol | The protocol used to connect to the target. NOTE: This property will not be serialized. It can only be populated by the server. |
resource |
The type of the resource. NOTE: This property will not be serialized. It can only be populated by the server. |
session |
Duration in mins the session has been active. NOTE: This property will not be serialized. It can only be populated by the server. |
session |
A unique id for the session. NOTE: This property will not be serialized. It can only be populated by the server. |
start |
The time when the session started. NOTE: This property will not be serialized. It can only be populated by the server. |
target |
The host name of the target. NOTE: This property will not be serialized. It can only be populated by the server. |
target |
The IP Address of the target. NOTE: This property will not be serialized. It can only be populated by the server. |
target |
The resource group of the target. NOTE: This property will not be serialized. It can only be populated by the server. |
target |
The resource id of the target. NOTE: This property will not be serialized. It can only be populated by the server. |
target |
The subscription id for the target virtual machine. NOTE: This property will not be serialized. It can only be populated by the server. |
user |
The user name who is active on this session. NOTE: This property will not be serialized. It can only be populated by the server. |
Property Details
protocol
The protocol used to connect to the target. NOTE: This property will not be serialized. It can only be populated by the server.
protocol?: string
Property Value
string
resourceType
The type of the resource. NOTE: This property will not be serialized. It can only be populated by the server.
resourceType?: string
Property Value
string
sessionDurationInMins
Duration in mins the session has been active. NOTE: This property will not be serialized. It can only be populated by the server.
sessionDurationInMins?: number
Property Value
number
sessionId
A unique id for the session. NOTE: This property will not be serialized. It can only be populated by the server.
sessionId?: string
Property Value
string
startTime
The time when the session started. NOTE: This property will not be serialized. It can only be populated by the server.
startTime?: Record<string, unknown>
Property Value
Record<string, unknown>
targetHostName
The host name of the target. NOTE: This property will not be serialized. It can only be populated by the server.
targetHostName?: string
Property Value
string
targetIpAddress
The IP Address of the target. NOTE: This property will not be serialized. It can only be populated by the server.
targetIpAddress?: string
Property Value
string
targetResourceGroup
The resource group of the target. NOTE: This property will not be serialized. It can only be populated by the server.
targetResourceGroup?: string
Property Value
string
targetResourceId
The resource id of the target. NOTE: This property will not be serialized. It can only be populated by the server.
targetResourceId?: string
Property Value
string
targetSubscriptionId
The subscription id for the target virtual machine. NOTE: This property will not be serialized. It can only be populated by the server.
targetSubscriptionId?: string
Property Value
string
userName
The user name who is active on this session. NOTE: This property will not be serialized. It can only be populated by the server.
userName?: string
Property Value
string