You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just deployed a p2sVPNGateway with 4 p2SConnectionConfigurations. The property configurationPolicyGroupAssociations fo the p2SConnectionConfiguration is marked as readOnly - but i was able to configure the group assocatiation nonetheless.
Resource Type
Microsoft.Network/p2svpnGateways
Api Version
2024-03-01
Issue Type
Property(s) inaccurately marked read-only/write-only
Other Notes
I have just deployed a p2sVPNGateway with 4 p2SConnectionConfigurations. The property configurationPolicyGroupAssociations fo the p2SConnectionConfiguration is marked as readOnly - but i was able to configure the group assocatiation nonetheless.
The issue relates to Azure/azure-rest-api-specs#28431 where it is not solved yet.
Bicep Repro
resource resVpnServer 'Microsoft.Network/p2svpnGateways@2024-03-01' = [
for (hub, i) in parVirtualWanHubs: if ((parVirtualHubEnabled) && (hub.parVpnGatewayEnabled)) {
name: '${parVpnServerName}-${hub.parHubLocation}'
location: hub.parHubLocation
tags: parTags
properties: {
customDnsServers: parVpnServerDnsServers
isRoutingPreferenceInternet: false
p2SConnectionConfigurations: [
for config in parVpnServerP2SConnectionConfigurations: {
name: config.name
properties: {
vpnClientAddressPool: {
addressPrefixes: config.addressPrefixes
}
configurationPolicyGroupAssociations: [
{
id: '${resVpnServerConfiguration.id}/configurationPolicyGroups/${config.name}'
}
]
}
}
]
virtualHub: {
id: resVhub[i].id
}
vpnGatewayScaleUnit: 1
vpnServerConfiguration: {
id: resVpnServerConfiguration.id
}
}
}
]
Confirm
The text was updated successfully, but these errors were encountered: