NetworkManagementClientExtensions.BeginGetActiveSessions(INetworkManagementClient, String, String) Method

Definition

Returns the list of currently active sessions on the Bastion.

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

Parameters

operations
INetworkManagementClient

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

bastionHostName
System.String

The name of the Bastion Host.

Returns

IPage<BastionActiveSession>

Applies to