-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Related command
az network manager ipam-pool update
https://learn.microsoft.com/en-us/cli/azure/network/manager/ipam-pool?view=azure-cli-latest#az-network-manager-ipam-pool-update
Is your feature request related to a problem? Please describe.
The az network manager ipam-pool update command does not support the optional parameter of --address-prefixes. --address-prefixes is important because currently other tooling (PS, portal, etc.) enable ipam pool address prefix growth, i.e. going from [10.0.0.0/16] to [10.0.0.0/15] or adding another prefix [10.0.0.0/16] -> [10.0.0.0/16, 192.168.0.0/16]. However, this behavior is not currently enabled in CLI.
Describe the solution you'd like
We need the az network manager ipam-pool update command to support the optional parameter of --address-prefixes.
Describe alternatives you've considered
Have tried multiple iterations of the following:
az network manager ipam-pool update --name "childpoolsdktest" --network-manager-name "ipam-test-nm" --resource-group "ipam-test-rg" --subscription "c9295b92-3574-4021-95a1-26c8f74f8359" --description "New Description" --add properties.addressPrefixes "[10.0.0.0/15]"
But always get:
Operation returned an invalid status 'Bad Request'
Additional context