Reader small image

You're reading from  Microsoft Azure Fundamentals Certification and Beyond - Second Edition

Product typeBook
Published inJan 2024
PublisherPackt
ISBN-139781837630592
Edition2nd Edition
Right arrow
Author (1)
Steve Miles
Steve Miles
author image
Steve Miles

Steve Miles works in a technology leadership role for the cloud practice of a multi-billion turnover IT distributor based in the UK and Ireland. He is a Microsoft Azure MVP (Most Valuable Professional), MCT (Microsoft Certified Trainer) and Microsoft technologies author. Steve has more than 25 years of experience in hosted datacenter services, hybrid, and multi-cloud platforms. In his free time, Steve also can be found tinkering on cars.
Read more about Steve Miles

Right arrow

Resource Locks

Resource locks are used to prevent resources from being modified. More importantly, they are used to prevent resources from being accidentally deleted, as locks override any permissions that have been set through RBAC.

Resource locks are managed at the subscription, resource group, and resource level and can be one of the following types:

  • Read-only lock: Admins cannot delete or update a resource
  • CanNotDelete lock: Admins can update but cannot delete a resource

Unlike resource tags, resource locks are “inherited” by child resources. This means that all the resources in that scope will inherit a parent scope lock. You can add both Read-only and Cannotdelete lock types to resources; multiple locks could be applied to a resource, with the most restrictive inherited lock applying and taking precedence. Figure 8.2 aims to visualize the levels at which locks can be applied and inherited:

Figure 8.2 – Azure resource...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Microsoft Azure Fundamentals Certification and Beyond - Second Edition
Published in: Jan 2024Publisher: PacktISBN-13: 9781837630592

Author (1)

author image
Steve Miles

Steve Miles works in a technology leadership role for the cloud practice of a multi-billion turnover IT distributor based in the UK and Ireland. He is a Microsoft Azure MVP (Most Valuable Professional), MCT (Microsoft Certified Trainer) and Microsoft technologies author. Steve has more than 25 years of experience in hosted datacenter services, hybrid, and multi-cloud platforms. In his free time, Steve also can be found tinkering on cars.
Read more about Steve Miles