BastionActiveSession Class

Definition

The session detail for a target.

public class BastionActiveSession
type BastionActiveSession = class
Public Class BastionActiveSession
Inheritance
BastionActiveSession

Constructors

BastionActiveSession()

Initializes a new instance of the BastionActiveSession class.

BastionActiveSession(String, Object, String, String, String, String, String, String, String, String, Nullable<Double>)

Initializes a new instance of the BastionActiveSession class.

Properties

Protocol

Gets the protocol used to connect to the target. Possible values include: 'SSH', 'RDP'

ResourceType

Gets the type of the resource.

SessionDurationInMins

Gets duration in mins the session has been active.

SessionId

Gets a unique id for the session.

StartTime

Gets the time when the session started.

TargetHostName

Gets the host name of the target.

TargetIpAddress

Gets the IP Address of the target.

TargetResourceGroup

Gets the resource group of the target.

TargetResourceId

Gets the resource id of the target.

TargetSubscriptionId

Gets the subscription id for the target virtual machine.

UserName

Gets the user name who is active on this session.

Applies to