CmdID / az / az group / az group lock
az group lock create
Create a resource group lock. Azure CLI reference
7 options Its page in the Azure CLI reference
Options
--nameThe name of the lock.--notesNotes about this lock.--parent-resource-pathPath to a parent resource--resource-group--resource-nameName of a resource that has a lock.--resource-provider-namespaceName of a resource provider.--resource-typeThe type for the resource with the lock.