Condividi tramite


BastionActiveSession Constructors

Definition

Overloads

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.

BastionActiveSession()

Initializes a new instance of the BastionActiveSession class.

public BastionActiveSession ();
Public Sub New ()

Applies to

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

Initializes a new instance of the BastionActiveSession class.

public BastionActiveSession (string sessionId = default, object startTime = default, string targetSubscriptionId = default, string resourceType = default, string targetHostName = default, string targetResourceGroup = default, string userName = default, string targetIpAddress = default, string protocol = default, string targetResourceId = default, double? sessionDurationInMins = default);
new Microsoft.Azure.Management.Network.Models.BastionActiveSession : string * obj * string * string * string * string * string * string * string * string * Nullable<double> -> Microsoft.Azure.Management.Network.Models.BastionActiveSession
Public Sub New (Optional sessionId As String = Nothing, Optional startTime As Object = Nothing, Optional targetSubscriptionId As String = Nothing, Optional resourceType As String = Nothing, Optional targetHostName As String = Nothing, Optional targetResourceGroup As String = Nothing, Optional userName As String = Nothing, Optional targetIpAddress As String = Nothing, Optional protocol As String = Nothing, Optional targetResourceId As String = Nothing, Optional sessionDurationInMins As Nullable(Of Double) = Nothing)

Parameters

sessionId
String

A unique id for the session.

startTime
Object

The time when the session started.

targetSubscriptionId
String

The subscription id for the target virtual machine.

resourceType
String

The type of the resource.

targetHostName
String

The host name of the target.

targetResourceGroup
String

The resource group of the target.

userName
String

The user name who is active on this session.

targetIpAddress
String

The IP Address of the target.

protocol
String

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

targetResourceId
String

The resource id of the target.

sessionDurationInMins
Nullable<Double>

Duration in mins the session has been active.

Applies to