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 show the detailed information.

A we add more devices, this list keeps expanding and this list can go more than 500 or 1000 in some scenarios.

So which is the best way to deal with this complex expandable table list?

enter image description here