Configuring resource locks with Azure Portal
- Navigate to the Azure portal by opening https://portal.azure.com.
- In the left-hand menu, select Resource groups. Select the resource group that we created in the previous demonstration.
- In the Resource Group overview blade, under Settings, select Locks:
- On the next screen, click Add in the top menu to create a new lock for this resource.
Add the following values:- Name: NoDelete
- Lock type: Delete:
- Click on OK to create the lock.