Skip to content

az network manager ipam-pool update command does not support the optional parameter of --address-prefixes #31751

@p-thompson

Description

@p-thompson

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

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamNetworkaz network vnet/lb/nic/dns/etc...act-quality-productivity-squadquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions