Which is the best way to deal with table, when we have more than 500 expandable list in a view page?

I have a view page in my application wherein I am listing the number of devices along with the device configuration details like protocol, Broker Ip, Payloads etc. I have designed this list in such a way that it expands on click and shows the detailed information.

As we add more devices, this list keeps expanding and it can go on for more than 500 or up to 1000 in some scenarios.

So what is the best way to deal with such complex expandable table list?

enter image description here