-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide mechanism for paging #3481
Comments
After investigation I found this feature requires SDK improvement: Azure/azure-sdk-for-python#1296 |
@troydai or not :)
I return an iterator, and you cast it as a list :) |
Misread the code. You're right. |
@troydai no problem! You'll get me next time for sure :p |
Add on to this - I could not find if Azure Storage or compute REST API for some of the listing commands (like VM list) supports paging. If anyone knows the options to use in a REST call to get a paged list of elements, that would be really helpful. Thanks. |
@karungithub The paging mechanism of ARM is described here: If you don't have "nextLink" in the documentation or in what you get from Azure. or the "top" parameter, this probably means that the service does not support paging for this operation. |
Hey folks, this continues to a major problem for customers/Microsoft employees needing to managing many app registrations. Without a viable CLI alternative, the portal experience exposes users to accidentally deleting the wrong app registrations. |
@seanknox thanks for the feedback. The SDK's paging mechanism acts like a linked list, meaning you can only travel through the entities in one direction page by page. There is no random access. Does this mechanism help the customers? |
No, unfortunately. See the discussion here: #1150 |
Thank you for pointing to this. Depends on the type of resources, we may provide different solutions. However, the difficult part is to make the change intuitive and usable. We may need to work with service team on this. |
I will fix this through filters such I am closing this, as we will have a different way to fix this |
A paging mechanism is helpful when a command needs to process large operation results. It should reduce the memory pressure and improve UI responsiveness.
The text was updated successfully, but these errors were encountered: