stefanstranger / AIPAS

AIPAS (Azure IP Address Solution) is built in Azure to let (Network) Administrators keep up-to-date records of IP assignments and available addresses used to configure Azure Virtual Networks (VNets).
Apache License 2.0
76 stars 18 forks source link

Added support for more than 1000 address spaces in storage table #4

Closed aerjenn closed 3 years ago

aerjenn commented 3 years ago

The current implementation of Get-AddessSpace does not implement pagination/continuation tokens. The storage table API has a limit of 1000 results per API call. This means that when there are more present in the table, not all address spaces will be returned.

PR contains an implementation that uses the response header continuation tokens to retrieve all address spaces from the storage table api.