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

Community Policy definition

Deny NICs from having public Ips when attached to subnets containing a defined suffix

Name Deny NICs from having public Ips when attached to subnets containing a defined suffix
Community-Policy GitHub
Id network_deny-nics-from-having-public-ips-when-attached-to-subnets-containing-a-defined-suffix
Version n/a
details on versioning
Category undefined
Microsoft docs
Description If a NIC is in a subnet that has the suffix defined in this Policy then a user will be unable to attach a public IP to that NIC.
Mode All
Type Custom Community
Effect Fixed
deny
Used RBAC Role none
Rule Aliases IF (2)
Alias Namespace ResourceType DefaultPath Modifiable
Microsoft.Network/networkInterfaces/ipconfigurations[*] Microsoft.Network networkInterfaces properties.ipConfigurations[*] true
Microsoft.Network/networkInterfaces/ipConfigurations[*].publicIPAddress Microsoft.Network networkInterfaces properties.ipConfigurations[*].properties.publicIPAddress true
Rule ResourceTypes IF (1)
Microsoft.Network/networkInterfaces
JSON