last sync: 2025-May-01 19:36:43 UTC

Deploy a user-defined route to a VNET with specific routes.

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy e96c820e-7358-4829-af8d-8f996dd43c87 (1.0.0) to Azure
Display name Deploy a user-defined route to a VNET with specific routes.
Id e96c820e-7358-4829-af8d-8f996dd43c87
Version 1.0.0
Details on versioning
Category Network
Microsoft Learn
Description Deploy a user-defined route to a VNET with routes from spoke to hub firewall. This policy must be assigned for each region you plan to use.
Mode Indexed
Type Custom Community
Effect Default
DeployIfNotExists
Allowed
DeployIfNotExists, AuditIfNotExists, Disabled
RBAC role(s)
Role Name Role Id
Network Contributor 4d97b98b-1d4f-4787-a291-c67834d212e7
Rule aliases THEN-ExistenceCondition (1)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Network/routeTables/routes[*].nextHopIpAddress Microsoft.Network routeTables properties.routes[*].properties.nextHopIpAddress True True
Rule resource types IF (1)
Microsoft.Network/virtualNetworks
THEN-Deployment (1)
Microsoft.Network/routeTables
JSON
EPAC
Deploy policy e96c820e-7358-4829-af8d-8f996dd43c87 (1.0.0) to Azure