Azure / azure-cli

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

VNet create/update support for IPAM pool association (2024-05-01) #30199

Open danlope opened 4 weeks ago

danlope commented 4 weeks ago

Preconditions

Related command

az network vnet create az network vnet update

Resource Provider

Microsoft.Network

Description of Feature or Work Requested

Feature request for the vnet create/update commands to introduce a new parameter: --ipam-pool-prefix-allocations. This enhancement aims to facilitate the association/disassociation of a VNET with an IP Address Management (IPAM) pool, thereby streamlining the allocation of address prefixes.

This feature support is crucial for IPAM service going GA, which was targeted for mid-November.

New Parameter details:

Good example: Image

Bad example: Image

Minimum API Version Required

2024-05-01

Swagger PR link / SDK link

swagger: https://github.com/Azure/azure-rest-api-specs/pull/30560/files#diff-3865305b0c4c82aae9addc443cc6c5001ea7a833c4332d15f6f7dfe646e300b0

example PR of changes needed in CLI repo (may not be everything was just testing locally): https://github.com/Azure/azure-cli/pull/30152

Request Example

https://github.com/Azure/azure-rest-api-specs/blob/kamboj-prjwl/release-network-Microsoft.Network-2024-05-01/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/VirtualNetworkCreateWithIpamPool.json

Target Date

2024-11-15

PM Contact

LIJAY

Engineer Contact

DANLOPE

Additional context

No response

yonzhan commented 4 weeks ago

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