Azure / bicep-types-az

Bicep type definitions for ARM resources
MIT License
86 stars 27 forks source link

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

Open jorananseau opened 10 months ago

jorananseau commented 10 months ago

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

microsoft-github-policy-service[bot] commented 10 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @vpngwsuppgithub. Please see https://aka.ms/biceptypesinfo for troubleshooting help.