如何为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"
}
}
这里有任何提示
答案 0 :(得分:0)
共享以下信息,以吸引更广泛的受众-
我们注意到该问题是-> https://social.msdn.microsoft.com/Forums/en-US/f39a0c36-3e36-4a7d-bd2c-a428c074329a/naming-convention-for-network-subnet?forum=WAVirtualMachinesVirtualNetwork MSDN论坛问题的重复。