课程: Microsoft Azure Fundamentals (AZ-900) Exam Tips
今天就学习课程吧!
今天就开通帐号,24,100 门业界名师课程任您挑!
How resource locks work in Azure - Azure教程
课程: Microsoft Azure Fundamentals (AZ-900) Exam Tips
How resource locks work in Azure
- [Lecturer] Before you take the az900 exam, be sure to understand how Resource locks work in Azure. Our Resource lock prevents resources from being accidentally deleted or changed. So for instance, let's create a lock here, at the Resource group level, so I can click on Locks and then add, let's say "mylock." There are two types of locks, Delete and Read-only, okay, so I'm going to choose Delete, and I created this lock, what this means is that, I can delete this resource group, so let's try to do that, let's type the resource group name and as you can see, this is going to fail because of that lock. Okay, so another important thing about locks is that locks are inherited, for instance, if I navigate to this Storage account and then I go to the Locks option, you can see that I'm inheriting the "mylock" lock that is implemented at the resource group level. So, of course, because of that inheritance, I cannot delete this…