question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enabling client side pagination for @azure/arm-recoveryservicesbackup

See original GitHub issue

Is your feature request related to a problem? Please describe. I currently am calling the list operation in the BackupProtectedItems class. I have around 200 backup items inside an Azure Recovery Services vault. When I use the list call I get data for all the 200 backup items. How do I enable client-side pagination?

Describe the solution you’d like When I do a list call I want to get at most 50 backup items along with a nextPageLink token.

Describe alternatives you’ve considered

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
adityabalaji-msftcommented, Jun 4, 2021

@SumitPopat the threshold for pagination is 200 results

1reaction
dw511214992commented, May 19, 2021

It seems the pagination in list operation doesn’t work, and it returns all result and the nextLink is always empty. Need help from service team to confirm

  1. whether the pagination is implemented in service side?
  2. the threshold of starting pagination in service side.

@sdsubhajitdas I think we need some time to wait for response from service team. So, if it is urgent, it’s suggested to iterate through the results (in your case, it’s all the 200 backup items) and get 50 backup items by yourself everytime. Sorry for the inconvenience.

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure Resource Manager and Bicep templates - Azure Backup
Template creates Recovery Services vault and a daily backup policy, which is used to back up classic and Resource Manager-virtual machines.
Read more >
@azure/arm-recoveryservicesbackup - NET
The Azure Recovery Services Backup client can use Azure Active Directory credentials to authenticate. You can find the endpoint for your Azure Recovery...
Read more >
azure-powershell/ChangeLog.md at main - GitHub
Az.RecoveryServices. Reverted the configure backup per policy limit for VMs from 1000 to 100. This limit was previously relaxed but as Azure portal...
Read more >
azure-cli 2.22.1 - PyPI
[BREAKING CHANGE] az storage account file-service-properties : Default to enable delete retention policy with retention days 7 in server side (#17028).
Read more >
AZURE Archives | CloudIQ Tech
With an average cost of a data breach at $3.86 million last year, it's wise to employ a good backup system. More than...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found