Skip to content

az network private-dns record-set is not idempotent from CLI version 2.37.0 #22886

@WGK864

Description

@WGK864

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

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botNetworkaz network vnet/lb/nic/dns/etc...Service AttentionThis issue is responsible by Azure service team.act-quality-productivity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions