如何为 Azure 网络子网设置标准命名约定...我有策略,但它似乎不起作用
{
"if": {
"allOf": [{
"field": "type",
"equals": "Microsoft.Network/virtualNetworks/subnets"
},
{
"not": {
"field": "name",
"match": "nncc-???-subnet"
}
},
{
"not": {
"field": "name",
"match": "nncc-????-subnet"
}
}
]
},
"then": {
"effect": "Deny"
}
}
这里有任何提示