You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Resource Type
Microsoft.Network/privateEndpoints/privateDnsZoneGroups
Api Version
2021-05-01
Issue Type
Missing property(s)
Other Notes
My process:
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
The text was updated successfully, but these errors were encountered: