Support using count to deny resource creation in Azure Resource Policies
Please add support to deny the creation of a resource in a resource group if the number of items of that resource type is greater than or equal to a certain value.
4
votes

1 comment
-
Kirk Munro commented
Here's an example of what I would like to do:
{
"if": {
"count": "Microsoft.Compute/*",
"exceeds": "8"
},
"then": {
"effect": "deny"
}
}