-
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
List available IPs inside a subnet #15380
Comments
feature request |
Dup with #6876 |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aznetsuppgithub. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @vnetsuppgithub. |
Any update? the command az network vnet list-available-ips only display 4 or 5 available ips but if you check in azure portal there is more than 500 ips available... Is there some command to list available ips in a array json or similar in a subnet? |
jq has been my goto tool for everything that outputs json. Still looking for a way to go over all the subscriptions, but this lists all the subnets per subscription. The problem is I have to deal with more than 1 subscription, more like a couple of dozen. |
@necusjz for awareness |
Duplicated with #13853 |
Is your feature request related to a problem? Please describe.
The CLI currently has a way to check for free IPs in a vnet by using
az network vnet list-available-ips
. This is very useful, but some enterprises have network architectures which would benefit from being able to specify a subnet qualifier. This was touched upon in #6876, but was closed after implementation of the vnet scope.Describe the solution you'd like
I would like to see list-available-ips under
az network vnet subnet:
This would behave as
az network vnet list-available-ips
does, but the IPs would be in the address space of the given subnet.Describe alternatives you've considered
Compare ips returned from the
az network vnet list-available-ips
command against the subnet's address space, but I don't think the command supports paging so this may not be an option.The text was updated successfully, but these errors were encountered: