Share via


BastionActiveSessionOutput interface

The session detail for a target.

Properties

protocol

The protocol used to connect to the target.

resourceType

The type of the resource.

sessionDurationInMins

Duration in mins the session has been active.

sessionId

A unique id for the session.

startTime

The time when the session started.

targetHostName

The host name of the target.

targetIpAddress

The IP Address of the target.

targetResourceGroup

The resource group of the target.

targetResourceId

The resource id of the target.

targetSubscriptionId

The subscription id for the target virtual machine.

userName

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