BastionActiveSession Class

The session detail for a target.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.network._serialization.Model
BastionActiveSession

Constructor

BastionActiveSession(**kwargs: Any)

Variables

Name Description
session_id
str

A unique id for the session.

start_time
<xref:JSON>

The time when the session started.

target_subscription_id
str

The subscription id for the target virtual machine.

resource_type
str

The type of the resource.

target_host_name
str

The host name of the target.

target_resource_group
str

The resource group of the target.

user_name
str

The user name who is active on this session.

target_ip_address
str

The IP Address of the target.

protocol

The protocol used to connect to the target. Known values are: "SSH" and "RDP".

target_resource_id
str

The resource id of the target.

session_duration_in_mins

Duration in mins the session has been active.