BastionActiveSession Class

The session detail for a target.

Constructor

BastionActiveSession(*args: Any, **kwargs: Any)

Variables

Name Description
session_id
str

A unique id for the session.

start_time
any

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.

Attributes

protocol

"SSH" and "RDP".

protocol: str | _models.BastionConnectProtocol | None

resource_type

The type of the resource.

resource_type: str | None

session_duration_in_mins

Duration in mins the session has been active.

session_duration_in_mins: float | None

session_id

A unique id for the session.

session_id: str | None

start_time

The time when the session started.

start_time: Any | None

target_host_name

The host name of the target.

target_host_name: str | None

target_ip_address

The IP Address of the target.

target_ip_address: str | None

target_resource_group

The resource group of the target.

target_resource_group: str | None

target_resource_id

The resource id of the target.

target_resource_id: str | None

target_subscription_id

The subscription id for the target virtual machine.

target_subscription_id: str | None

user_name

The user name who is active on this session.

user_name: str | None