Yes, both of those PCIe NVMe adapters with PCIe switches should be compatible with UNRAID and should allow you to add NVMe drives to your server.
- The first adapter you linked (https://a.co/d/geBwOPd) is a PCIe 3.0 x16 adapter with a built-in PCIe switch that supports up to four M.2 NVMe drives. This adapter should work well with your HPE ProLiant DL360p Gen8 server, which supports PCIe 3.0.
- The second adapter you linked (https://a.co/d/h37oStN) is a PCIe 3.0 x8 adapter with a built-in PCIe switch that also supports up to four M.2 NVMe drives. This adapter should also work with your server, but keep in mind that it will use up one of your PCIe x8 slots, leaving you with only one PCIe x8 slot and one PCIe x4 slot available for other expansion cards.
Both of these adapters should be plug-and-play with UNRAID and should show up in the Unassigned Devices section of the web UI once you have installed them in your server. From there, you can assign them to a storage pool or use them as cache drives. You may find more information here.