Estimated time: 5 minutes
The goal of this task is to verify the function of ARM resource locks. This includes creating resource level and resource group level locks and verify that they prevent unwanted changes to resources.
For this task, you will need to start with a resource group named task-lock-rg. The resource group should contain the following resources:
You can deploy the resources to your subscription by running the following from a bash cloud shell:
curl https://inedemoassets.blob.core.windows.net/taskfiles/azure_admin/deploy-3509T050-pre.sh | sh
For this requirement you will create a read-only lock for the lock-rt route table. You will then attempt to change the Virtual network gateway route propagation setting (if it is disabled, attempt to set it to enabled and save, or vise-versa). Finally you will attempt to delete the task-lock-rg resource group.
For this requirement you will crete a delete lock on the task-lock-rg resource group. You will then attempt to delete the lock-nsg network security group.
To clean up this task, first delete both locks (resource level and resource group level), then delete the task-lock-rg resource group.