Udostępnij za pośrednictwem


NetworkManagementClientExtensions.BeginGetActiveSessions 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
String

The name of the resource group.

bastionHostName
String

The name of the Bastion Host.

Returns

Applies to