Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Microsoft.Network/privateEndpoints/privateDnsZoneGroups@2021-05-01]: The property "location" does not exist in the resource or type definition #2347

Open
1 task done
adarmada opened this issue Nov 12, 2024 · 0 comments

Comments

@adarmada
Copy link

Resource Type

Microsoft.Network/privateEndpoints/privateDnsZoneGroups

Api Version

2021-05-01

Issue Type

Missing property(s)

Other Notes

My process:

  • created an EventHub + private DNS Zone Group via Azure portal
  • exported ARM template
  • used VSCode Bicep plugin to Paste JSON as Bicep

Then warning appeared over location field

Bicep Repro

resource my_dns_zone_group 'Microsoft.Network/privateEndpoints/privateDnsZoneGroups@2021-05-01' = {
name: 'resource-name'
location: 'eastus2' // VSCode flagged as warning with "The property "location" does not exist in the resource or type definition, although it might still be valid. If this is a resource type definition inaccuracy, report it using https://aka.ms/bicep-type-issues."
properties: {
privateDnsZoneConfigs: [
{
name: 'my-name'
properties: {
privateDnsZoneId: ''
}
}
]
}
}

Confirm

  • I have read the troubleshooting guide and looked for duplicates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant