Now you know how to organize your resources, but for working with those resources, there is still another functionality that is important, which I will introduce now.
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. ARM 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,
and then click on theResource groups
blade, then theacdppbook
name, as shown in the following screenshot:
- In the navigation section on the
Resource groups
dashboard, click on theLocks
button, then click on theLocks
blade, followed by clicking on theAdd
button:
- Now, type
ppbookdemo
in theLock name
field, select a lock type, and click on theOK
button:
- Your first lock is ready, as shown in the following screenshot: