ResourceModules icon indicating copy to clipboard operation
ResourceModules copied to clipboard

[Bug Report]: properties.dnsSettings.fqdn on Microsoft.Network/publicIPAddresses@2022-07-01 should be handled as read-only property to simplify template parametrization

Open jikuja opened this issue 1 year ago • 0 comments

Describe the bug

modules/Microsoft.Network/publicIPAddresses/main.bicep param documentations are direct copies from REST spec.

Other tooling(portal) does following PUT request when adding DNS label:

  • dnsSettings.domainNameLabel is set to requested label
  • dnsSettings.fqdn is set to null

After PUT request is completed GET request returns updated/correct fqdn value.


With bicep deployments fqdn entry is ignored if entry does not match with the rule This is the concatenation of the domainNameLabel and the regionalized DNS zone. after deployment fqdn is updated/corrected to domainNameLabel + regionalized DNS zone.


If there is no known use-cases for properties.dnsSettings.fqdn that parameter should be removed to simplify templating.

To reproduce

N/A: this was experimented manually.

Code snippet

No response

Relevant log output

No response

jikuja avatar May 07 '23 18:05 jikuja