Azure / Azure/bicep-types-az

p2sVpnGateways: configurationPolicyGroupAssociations missing

Open
#2,403 3 comments 2 reactions 0 assignees View on GitHub
inaccuracy
Dominant language
TypeScript
Stars
108
Forks
44
Avg merge
18h 53m
Merged PRs (30d)
29

Description

### Resource Type

Microsoft.Network/p2sVpnGateways

### Api Version

2024-05-01'

### Issue Type

Missing property(s)

### Other Notes

When deploying P2S VPN in Virtual Wan you can define user groups to allow you to assign address pools to certain groups.
In bicep you can deploy everything correctly, except the configurationPolicyGroupAssociations that links the groups to subnets.

In this example it is visible on line 378:
[configurationPolicyGroupAssociations](https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.network/virtual-wan-multiple-address-pool/azuredeploy.json)

While configuring the groups in the Azure Portal it is visible in the payload:
![Image](https://github.com/user-attachments/assets/3315bfc3-a549-4dea-89f0-e05266dfb7e1)

In the MS reference it is not visible: https://learn.microsoft.com/en-us/azure/templates/microsoft.network/p2svpngateways?pivots=deployment-language-bicep

![Image](https://github.com/user-attachments/assets/6e627bc6-253a-4c72-bd73-d0603f9fa5f0)

Can this be added?

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

Compare the p2sVpnGateways 2024-05-01 type definition with the Azure quickstart template's azuredeploy.json, especially configurationPolicyGroupAssociations on line 378, and the Microsoft reference linked in the issue. Trace how this resource's properties are represented in the Bicep type definitions; done means the property is documented and accepted for this API version.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.