This procedure demonstrates how to apply tags and locks to Azure resources for better management and protection.
Step 1: Add a Delete Lock to the VM
- Go to the VM created earlier.
- Click Locks under Settings.
- Click + Add.
- Name the lock and select Delete as the lock type.
- Click OK.
Step 2: Add a Purpose Tag to the VM
- Go to the VM and click Tags.
- Add a tag with:
- Name:
PURPOSE
- Value:
file-server
- Name:
- Click Save.
Step 3: Review Tagged Resources
- In the Azure Portal, search for Tags.
- Click on the
file-server
tag value. - Review all resources associated with this tag.