Azure / Azure/bicep-types-az

[Microsoft.Network/vpnGateways]: Inaccurate read-only on natRules/properties/egressVpnSiteLinkConnections

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

Description

### Resource Type

Microsoft.Network/vpnGateways

### Api Version

2023-06-01

### Issue Type

Property(s) inaccurately marked read-only/write-only

### Other Notes

According to documentation, there is no way to associate an VpnSite with a nat rule on the VPN Gateway using Bicep. This is faulty documentation for ARM, Bicep.

### Bicep Repro
```
resource vpngateway 'Microsoft.Network/vpnGateways@2023-06-01' = {
name: vpnGatewayName
. . .
properties: {
. . .
natRules : [
{
. . .
properties:{
. . .
egressVpnSiteLinkConnections: [
{
id:
}
]
}
}
]
}
}
```
### Confirm

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Microsoft.Network/vpnGateways type definition for API version 2023-06-01 and inspect the metadata for natRules/properties/egressVpnSiteLinkConnections. Done means the definition accurately permits the VpnSite link association shown in the Bicep reproduction.

Written by the indexing model from the issue text.

Assessment

Domain
cloud, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.