Azure / Azure/azure-cli-extensions

[resource-graph] automatically paginate results

Open
#5,856 9 comments 1 reaction 0 assignees View on GitHub
customer-reported feature-request needs-team-attention Resource Graph Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

### Related command

az graph query

### Extension name (the extension in question)
resource-graph 2.1.0

### Description of issue (in as much detail as possible)
By default currently 100 results are passed as results to a query, you can increase this with --first to 1000. I would like an option to just get all results, no matter how many there are or how many pages it needs to paginate in background. Suggestion "--all" as new option.

-----

Contributor guide

Open the contributing guide

Research direction

Start by locating the resource-graph extension's az graph query command and inspect how it handles --first and paged responses. Determine how an --all option should retrieve every page while preserving existing behavior, then verify that queries returning more than 1000 results produce the complete result set.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.