Some resources, like queries, alerts, dashboards, jobs, DLT pipelines, etc., may have a huge number of resources. Right now, most listing implementations use ListAll from Go SDK, but this leads to a situation when we need to wait until the listing finishes instead of starting processing resources page by page. Switching to the List from Go SDK will allow us to start processing individual resources as soon as we get a page from the backend.
Some resources, like queries, alerts, dashboards, jobs, DLT pipelines, etc., may have a huge number of resources. Right now, most listing implementations use
ListAll
from Go SDK, but this leads to a situation when we need to wait until the listing finishes instead of starting processing resources page by page. Switching to theList
from Go SDK will allow us to start processing individual resources as soon as we get a page from the backend.