BastionActiveSession Class
The session detail for a target.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
BastionActiveSession(**kwargs: Any)
Variables
| Name | Description |
|---|---|
|
session_id
|
A unique id for the session. |
|
start_time
|
<xref:JSON>
The time when the session started. |
|
target_subscription_id
|
The subscription id for the target virtual machine. |
|
resource_type
|
The type of the resource. |
|
target_host_name
|
The host name of the target. |
|
target_resource_group
|
The resource group of the target. |
|
user_name
|
The user name who is active on this session. |
|
target_ip_address
|
The IP Address of the target. |
|
protocol
|
The protocol used to connect to the target. Known values are: "SSH" and "RDP". |
|
target_resource_id
|
The resource id of the target. |
|
session_duration_in_mins
|
Duration in mins the session has been active. |