/// <summary> /// Returns the list of currently active sessions on the Bastion. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> public static IPage <BastionActiveSession> BeginGetActiveSessionsNext(this INetworkManagementClient operations, string nextPageLink) { return(operations.BeginGetActiveSessionsNextAsync(nextPageLink).GetAwaiter().GetResult()); }