Azure / Azure/azure-cli-extensions
Is it possible to create NIC with dynamic private IP allocation?
- Dominant language
- Python
- Stars
- 454
- Forks
- 1.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 64
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_
Contributor guide
Assessment
This issue has not been assessed yet.