Azure / Azure/bicep-types-az

missing Microsoft.Network/virtualNetworks.properties.virtualNetworkPeerings.properties.peerCompleteVnets

Open
#2,128 1 comment 0 reactions 0 assignees View on GitHub
Network - Virtual Network Service Attention
Dominant language
TypeScript
Stars
108
Forks
44
Avg merge
18h 53m
Merged PRs (30d)
29

Description

### Resource Type

Microsoft.Network/virtualNetworks

### Api Version

2023-09-01

### Issue Type

Type is unavailable

### Other Notes

```
az deployment group what-if --name integration-platform --resource-group mm --template-file some-file : Warning BCP037: The property "peerCompleteVnets" is not allowed on objects of type "VirtualNetworkPeeringPropertiesFormat". Permissible properties include "peeringState", "peeringSyncLevel", "remoteAddressSpace", "remoteBgpCommunities", "remoteVirtualNetwork", "remoteVirtualNetworkAddressSpace". If this is an inaccuracy in the documentation, please report it to the Bicep Team. [https://aka.ms/bicep-type-issues]

Note: The result may contain false positive predictions (noise).
```

the `what-if` is showing this property:

```

~ Microsoft.Network/virtualNetworks/MM_Vnet [2023-09-01]
~ properties.virtualNetworkPeerings: [
~ 0:

- properties.peerCompleteVnets: true
...
```

### Bicep Repro

_No response_

### Confirm

- [X] I have read the troubleshooting guide and looked for duplicates.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Microsoft.Network virtualNetworks type definition for API version 2023-09-01 and trace how VirtualNetworkPeeringPropertiesFormat is sourced or generated. Check how the reported peerCompleteVnets property is represented, then validate the result with the az deployment group what-if command and confirm the BCP037 warning is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.