Share via


NetworkManagementClientExtensions.GetActiveSessionsNextAsync Method

Definition

Returns the list of currently active sessions on the Bastion.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.BastionActiveSession>> GetActiveSessionsNextAsync (this Microsoft.Azure.Management.Network.INetworkManagementClient operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default);
static member GetActiveSessionsNextAsync : Microsoft.Azure.Management.Network.INetworkManagementClient * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.BastionActiveSession>>
<Extension()>
Public Function GetActiveSessionsNextAsync (operations As INetworkManagementClient, nextPageLink As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of BastionActiveSession))

Parameters

operations
INetworkManagementClient

The operations group for this extension method.

nextPageLink
String

The NextLink from the previous successful call to List operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to