Azure subscriptions, resource groups, and resources can be protected from accidental deletions and modifications through the use of resource locks. This tag is for discussing the use, management and scope of resource locks.
Overview
Azure subscriptions, resource groups, and resources can be protected from accidental deletions and modifications through the use of resource locks.
You can set locks that prevent either deletions or modifications. In the portal, these locks are called Delete and Read-only. In the command line, these locks are called CanNotDelete and ReadOnly.