Locking Azure resources
Now you know how to organize your resources, but for working with the resources, there is still another functionality that is important, which I will introduce now.
Azure resource locks
What does this mean? As an administrator, you may need to lock a resource group, or resource to prevent other users from accidentally deleting or modifying critical resources. The Azure resource manager offers a mechanism with two levels (CanNotDelete or ReadOnly) to be able to make appropriate settings.
Let's take a look at this:
- In the portal, click on
Resource groups
:

- On the
Resource groups
blade, click theacdppbook
name field:

- In the navigation section on the
Resource groups
dashboard, click on theLocks
button:

- On the
Locks
blade, click on theAdd
button:

- Now type
ppbookdemo
in theLock name
textbox, select aLock type
, and click onOK
:

- Your first lock is ready.
Note
Attention!
I have put in my example Read-only
as a Lock type
on Resource groups
. This lock is automatically inherited to...