Description
Library name and version
Azure.ResourceManager.DataFactory 1.0.0-beta.4
Describe the bug
Can't query more than 100 PipelineRuns via API because ContinuationToken
is not exposed.
Only way to call Pipeline Runs - Query By Factory is by calling DataFactoryResource.GetPipelineRunsAsync
.
Problem is that all you get from this call is AsyncPageable<DataFactoryPipelineRunInfo>
which means ContinuationToken
value is lost...
Since pagination is implemented via RunFilterContent
property it means "default" nextLink logic for pages can't work...
Expected behavior
Ideally DataFactoryResource.GetPipelineRunsAsync
would do whole pagination itself with ContinuationToken
hidden away, but getting ContinuationToken
is also acceptable I guess.
Actual behavior
No way to do pagination...
Reproduction Steps
Have ADF with more than 100 pipeline runs and try to query them...
I guess only way today would be by requesting ordered by update time, and keep updating RunFilterContent.LastUpdatedAfter
, which feels a bit tricky, do I need to do minus one second?
Environment
Visual Studio 17.8