BastionActiveSession Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應