remoteGateways not included in Microsoft.Network/virtualNetworks/virtualNetworkPeerings@2024-01-01 resource
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
**Bicep version**
Bicep CLI version 0.28.1 (ba1e9f8c1e)
**Describe the bug**
`remoteGateways` is a property on Virtual Network Peerings and it is not supported in Bicep. Below is an example of the JSON view in Azure showing the property:

PowerShell also supposedly supports it but does not populate the property: https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.commands.network.models.psvirtualnetworkpeering?view=az-ps-latest
Warning in Bicep, although you can supply the property:

**To Reproduce**
Attempt to set the `remoteGateways` property on a `Microsoft.Network/virtualNetworks/virtualNetworkPeerings@2024-01-01` in Bicep.
**Additional context**
NA
Contributor guide
No contributing guide indexed for this repository
Research direction
In the bicep-types-az TypeScript definitions, search for Microsoft.Network/virtualNetworks/virtualNetworkPeerings@2024-01-01 and inspect its declared properties. Compare the definition with the reported remoteGateways property, then reproduce the Bicep warning to confirm that the property is recognized.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, typescript
- Domain
- cloud, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100