This is related to #10467.
Related command
az network private-dns record-set
Describe the bug
CLI version 2.36.0 runs this command in an idempotent way. If the record is to be duplicated, it acts as a No-op and returns code 0. In version 2.37.0 this command is no longer idempotent and logs a BadRequest.
To Reproduce
Run az network private-dns record-set in version 2.36.0 and 2.37.0 and notice the different results.
Expected behavior
I expect this command to be idempotent when adding a record that may already exist.
Environment summary
Ran in pipeline worker with ubuntu 20.04 image
This is related to #10467.
Related command
az network private-dns record-set
Describe the bug
CLI version 2.36.0 runs this command in an idempotent way. If the record is to be duplicated, it acts as a No-op and returns code 0. In version 2.37.0 this command is no longer idempotent and logs a BadRequest.
To Reproduce
Run az network private-dns record-set in version 2.36.0 and 2.37.0 and notice the different results.
Expected behavior
I expect this command to be idempotent when adding a record that may already exist.
Environment summary
Ran in pipeline worker with ubuntu 20.04 image