Azure Access Control Policy Creation
Skillable Studio › Building Labs with Cloud Platforms › Microsoft Azure
"not": {
"anyOf": [
{
"allOf": [
{
"field": "type",
"equals": "Microsoft.Compute/virtualMachines"
},
{
"field": "Microsoft.Compute/virtualMachines/sku.name",
"in": [
"Standard_A1_v2",
"Standard_B2s"
]
},
{
"field": "name",
"in": [
"[concat('vm',resourcegroup().tags.LabInstance,'jbox')]"
]
},
{
"field": "location",
"In": [
"[resourceGroup().location]"
]
},
{
"field": "location",
"notEquals": "global