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
After working on this we've identified this property should be configured over the Network Rule Sets
When you setup the Public Network Access property under Network Rule Sets you are getting the next Warning > az deployment group create --resource-group relay-jdobla --template-file relay_module.bicep /home/jose/folder/relay_module.bicep(47,4) : Warning BCP037: The property "publicNetworkAccess" is not allowed on objects of type "NetworkRuleSetProperties". No other properties are allowed. If this is an inaccuracy in the documentation, please report it to the Bicep Team. [https://aka.ms/bicep-type-issues] /home/jose/folder/relay_module.bicep(50,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'relay'.
If you press enter the Relay will be created with the property correctly setup
Deploy the Relay with the Public Network Access configured under the Network Rule Sets without receiving the next warning https://github.com/Azure/azure-rest-api-specs/pull/20745
The text was updated successfully, but these errors were encountered:
Description
Actual Behavior
I'm looking to deploy over ARM/Bicep/Terraform a Relay with the property Public Network Access configured
As per the documentation this property should be done into the Namespace level (https://learn.microsoft.com/en-us/azure/templates/microsoft.relay/namespaces?pivots=deployment-language-bicep)
After working on this we've identified this property should be configured over the Network Rule Sets
When you setup the Public Network Access property under Network Rule Sets you are getting the next Warning
> az deployment group create --resource-group relay-jdobla --template-file relay_module.bicep /home/jose/folder/relay_module.bicep(47,4) : Warning BCP037: The property "publicNetworkAccess" is not allowed on objects of type "NetworkRuleSetProperties". No other properties are allowed. If this is an inaccuracy in the documentation, please report it to the Bicep Team. [https://aka.ms/bicep-type-issues] /home/jose/folder/relay_module.bicep(50,5) : Warning no-unnecessary-dependson: Remove unnecessary dependsOn entry 'relay'.
If you press enter the Relay will be created with the property correctly setup
There is currently a PR opened to modify this document: Azure Relay - added missing publicNetworkAccess at NetwrokRuleSet level azure-rest-api-specs#20745
Expected Behavior
https://github.com/Azure/azure-rest-api-specs/pull/20745
The text was updated successfully, but these errors were encountered: