Condividi tramite


NetworkManagementClientExtensions.GetActiveSessions Method

Definition

Returns the list of currently active sessions on the Bastion.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.BastionActiveSession> GetActiveSessions (this Microsoft.Azure.Management.Network.INetworkManagementClient operations, string resourceGroupName, string bastionHostName);
static member GetActiveSessions : Microsoft.Azure.Management.Network.INetworkManagementClient * string * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.BastionActiveSession>
<Extension()>
Public Function GetActiveSessions (operations As INetworkManagementClient, resourceGroupName As String, bastionHostName As String) As IPage(Of BastionActiveSession)

Parameters

operations
INetworkManagementClient

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

bastionHostName
String

The name of the Bastion Host.

Returns

Applies to