last sync: 2023-Jun-19 17:45:01 UTC

Community Policy definition

Deploy network watcher when virtual networks are created

Name Deploy network watcher when virtual networks are created
Community-Policy GitHub
Id network_deploy-network-watcher-when-virtual-network-created
Version n/a
details on versioning
Category Network
Microsoft docs
Description This policy creates a network watcher resource in regions with virtual networks. You need to ensure existence of a resource group named networkWatcherRG, which will be used to deploy network watcher instances.
Mode Indexed
Type Custom Community
Effect Fixed
DeployIfNotExists
Used RBAC Role
Role Name Role Id
Network Contributor 4d97b98b-1d4f-4787-a291-c67834d212e7
Rule Aliases
Rule ResourceTypes IF (1)
Microsoft.Network/virtualNetworks
THEN-Deployment (1)
Microsoft.Network/networkWatchers
JSON