Is it possible to create NIC with dynamic private IP allocation? #8265
Labels
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Network
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
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
The text was updated successfully, but these errors were encountered: