Azure / Azure/bicep-types-az

remoteGateways not included in Microsoft.Network/virtualNetworks/virtualNetworkPeerings@2024-01-01 resource

Open
#2,247 1 comment 0 reactions 0 assignees View on GitHub
Needs: Triage :mag:
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:

![image](https://github.com/user-attachments/assets/3ab8614b-6541-4b67-83bb-eee76654de57)

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:
![image](https://github.com/user-attachments/assets/669cae22-06ee-4b5e-bec0-52df32001285)

**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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.