Skip to content

natively support deny assignments #9114

Answered by brwilkinson
erwinkramer asked this question in Ideas
Discussion options

You must be logged in to vote

You can set resource locks to protect resources, they are available at any scope that you choose and can be deployed.

The popular option is: CanNotDelete

https://learn.microsoft.com/en-us/azure/templates/microsoft.authorization/locks?pivots=deployment-language-bicep

Name Description Value
level The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. 'CanNotDelete''NotSpecified''ReadOnly' (required)
notes Notes about the lock. Maximum of 512 characters. string

H…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brwilkinson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants