Open
Description
Describe the bug
Not a bug, but I didn't see any possibility to create a Nic with dynamic allocation of private IP Address
Related command
az network nic create
Errors
No option --private-ip-address-allocation Dynamic
Issue script & Debug output
az network nic create
--resource-group "$RESOURCE_GROUP"
--name "$NIC_NAME"
--vnet-name "$VNET_NAME"
--subnet "$SUBNET_NAME"
--network-security-group "$NSG_NAME"
--location "$LOCATION"
--ip-forwarding false
--private-ip-address ""
--private-ip-address-allocation Dynamic
Expected behavior
It should create Nic with dynamic private ip address
Environment Summary
azure-cli 2.65.0
Additional context
No response
Activity