Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.36k stars 4.78k forks source link

The response of ListAsync has no link to the next page #29626

Closed sheiwangwo closed 3 months ago

sheiwangwo commented 2 years ago

We are using ListAsync to get job list, but the response contains 300 items at most(When we are sure the number of jobs is more than 300).

The docs of this api shows that "the response includes a link to the next page of results, if any."(https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.management.datalake.analytics.joboperationsextensions.listasync?view=azure-dotnet). But the link to the next page is "null" in fact, is there any problem here?

Could you please help us find the way to get the job list with more than 300 items by the ADLA api?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

azure-sdk commented 2 years ago

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Extensions:0.437985,Batch:0.08364665,Functions:0.05121505'

ghost commented 2 years ago

Thank you for your feedback. This has been routed to the support team for assistance.

SaurabhSharma-MSFT commented 2 years ago

@sheiwangwo We are looking into it and get back to you for any additional information.

SaurabhSharma-MSFT commented 2 years ago

@sheiwangwo I could see the same behavior in my local environment and checking internally on the same.
image

ghost commented 2 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @idear1203.

Issue Details
We are using ListAsync to get job list, but the response contains 300 items at most(When we are sure the number of jobs is more than 300). The docs of this api shows that "the response includes a link to the next page of results, if any."(https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.management.datalake.analytics.joboperationsextensions.listasync?view=azure-dotnet). But the link to the next page is "null" in fact, is there any problem here? Could you please help us find the way to get the job list with more than 300 items by the ADLA api? --- #### Document Details ⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.* * ID: 7866947b-2e10-0703-2e36-2191dbf25ae7 * Version Independent ID: fcea1d2a-d7b3-a25c-1188-e2b6096deee7 * Content: [JobOperationsExtensions.ListAsync Method (Microsoft.Azure.Batch.Protocol) - Azure for .NET Developers](https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.batch.protocol.joboperationsextensions.listasync?view=azure-dotnet) * Content Source: [xml/Microsoft.Azure.Batch.Protocol/JobOperationsExtensions.xml](https://github.com/Azure/azure-docs-sdk-dotnet/blob/master/xml/Microsoft.Azure.Batch.Protocol/JobOperationsExtensions.xml) * Service: **batch** * GitHub Login: @rloutlaw * Microsoft Alias: **routlaw**
Author: sheiwangwo
Assignees: SaurabhSharma-MSFT
Labels: `Data Lake Analytics`, `Service Attention`, `Client`, `customer-reported`, `question`, `needs-team-attention`
Milestone: -
github-actions[bot] commented 3 months ago

Hi @sheiwangwo, we deeply appreciate your input into this project. Regrettably, this issue has remained unresolved for over 2 years and inactive for 30 days, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.