You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following aliases were added, sorry for the delay:
Microsoft.Compute/virtualMachines/diagnosticsProfile.bootDiagnostics
Microsoft.Compute/virtualMachines/diagnosticsProfile.bootDiagnostics.enabled
Microsoft.Compute/virtualMachines/diagnosticsProfile.bootDiagnostics.storageUri
Policy to ensure boot diagnostic is enabled and set to a particular storage account.
{
"policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.Compute/virtualMachine"
},
{
"anyOf": [
{
"not": {
"field": "Microsoft.Compute/virtualMachines/diagnosticsProfile.bootDiagnostics.enabled",
"equals": "True"
}
},
{
"field": "Microsoft.Compute/virtualMachines/diagnosticsProfile.bootDiagnostics.storageUri",
"like": "http://teststorage*"
}
]
}
]
},
"then": {
"effect": "deny"
}
},
"parameters": {},
"metadata": {
"category": "Compute"
}
}
The text was updated successfully, but these errors were encountered: