Locks

Creating and managing Azure resources is much easier when leveraging the various commands available that allow you to work faster and enable you to automate processes. However, when you have hundreds of resources provisioned, mistakes may happen—you can accidentally move, rename, or even delete a resource, which should not even be touched. To prevent such scenarios, it is possible to use locks—a simple feature that stops you from performing a forbidden action. In this section, you will learn how to create them, and use them for your own purposes.

Get Hands-On Azure for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.