Skip to content

Instantly share code, notes, and snippets.

@tyconsulting
Created October 21, 2017 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tyconsulting/5d48530f5a7a58d50fc8c83bd3995c99 to your computer and use it in GitHub Desktop.
Save tyconsulting/5d48530f5a7a58d50fc8c83bd3995c99 to your computer and use it in GitHub Desktop.
Azure Resource Policy that enables you to restrict ALL Azure Service Manager (ASM, aka Classic) resources.
{
"if": {
"field": "type",
"like": "Microsoft.Classic*"
},
"then": {
"effect": "Deny"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment