Setting the 'deleteOption' property on a public IP address via CLI doesn't change the value
Open
customer-reported
feature-request
Network - Public IP
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Describe the bug**
The 'deleteOption' property on a public IP address by default is null. It should be possible to change this property on an existing object via the CLI, but when running the below command no error is returned but the property value doesn't change.
**To Reproduce**
az network public-ip update --ids /id/of/public/ip --set deleteOption=delete
**Expected behavior**
The deleteOption should have the value 'delete' afterwards. Instead, it's left as null. Other properties e.g. idleTimeoutInMinutes can be set this way without issue.
**Environment summary**
version 2.30.0, being run from powershell 7 on windows 10.
Contributor guide
Assessment
This issue has not been assessed yet.