Share via


NetworkManagementClientExtensions.DisconnectActiveSessionsNextAsync 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.BastionSessionState>> DisconnectActiveSessionsNextAsync (this Microsoft.Azure.Management.Network.INetworkManagementClient operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default);
static member DisconnectActiveSessionsNextAsync : Microsoft.Azure.Management.Network.INetworkManagementClient * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.BastionSessionState>>
<Extension()>
Public Function DisconnectActiveSessionsNextAsync (operations As INetworkManagementClient, nextPageLink As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of BastionSessionState))

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