Azure / azure-cli

Azure Command-Line Interface
MIT License
4.03k stars 3k forks source link

Obtain the correct list of available IP adresses in a delegated subnet via `az network vnet subnet list-available-ips`. #28745

Open Xangliev opened 7 months ago

Xangliev commented 7 months ago

Related command az network vnet subnet list-available-ips

Is your feature request related to a problem? Please describe. We are currently unable to obtain the available amount of ips for delegated subnets, since it will always show the max amount of IPs as available for a delegated subnet in the portal and via the az cli command it also seems to return a list of ips even when the subnet is actually full.

Describe the solution you'd like When running the az cli command it should return a list with actual available ips in a delegated subnet, this is currently not the case.

Describe alternatives you've considered I don't believe there is anyway from the client side to obtain this information from the Azure API currently. I have opened a case before but they recommend we open a feature request, so here we are.

yonzhan commented 7 months ago

Thank you for opening this issue, we will look into it.

Xangliev commented 6 months ago

Hi, any updates on this?